Template:Infobox/World: Difference between revisions
From VRChat Wiki
No edit summary |
unified the method of inputting links/IDs into an ID parameter and made certain fields mandatory. (empty mandatory fields will display placeholder messages) |
||
| Line 1: | Line 1: | ||
<includeonly><infobox type="World" theme="community"> | <includeonly><infobox type="World" theme="community"> | ||
<title source="name"></title> | <title source="name"><default>'''Missing name!'''</default></title> | ||
<image source="image"><default>Placeholder.webp</default></image> | <image source="image"><default>Placeholder.webp</default></image> | ||
<group> | <group> | ||
<data source="publisher"><label>Publisher</label></data> | <data source="publisher"><label>Publisher</label><default>'''Missing publisher!'''</default></data> | ||
<data source="developers"><label>Developers</label></data> | <data source="developers"><label>Developers</label></data> | ||
<data source="capacity"><label>Capacity</label></data> | <data source="capacity"><label>Capacity</label></data> | ||
| Line 9: | Line 9: | ||
<data source="tags"><label>Tags</label></data> | <data source="tags"><label>Tags</label></data> | ||
<data source="languages"><label>Languages</label></data> | <data source="languages"><label>Languages</label></data> | ||
<data source=" | <data source="id"><label>World Link</label> | ||
<default>'''Missing world ID!'''</default> | |||
<format>{{World link|{{{worldid}}}|{{{name}}}}}</format></data> | |||
</group> | </group> | ||
<group> | <group> | ||
Revision as of 22:21, 21 August 2024
Usage
Paste this template at the top of a world page with the world ID. Most infobox fields are filled automatically from live world data. While that data is still loading, a infobox placeholder is shown.
Required:
id— the world's VRChat ID (e.g.wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd)
Optional (manual only):
developers— additional developers not covered by the API author fieldlanguages— languages used or available inside the world
Example
Minimal usage:
{{Infobox/World
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
}}
With optional manual fields:
{{Infobox/World
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
|developers=ExampleDev1, ExampleDev2
|languages=English, Japanese, French
}}
TemplateData Documentation
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| World ID | id | The VRChat world ID.
| String | required |
| Developers | developers | Optional. Additional developer(s) for the wiki article.
| String | optional |
| Available Languages | languages | Optional. Languages used or available inside the world.
| String | optional |