Template:Infobox/World/doc: Difference between revisions
From VRChat Wiki
m Reverted edits by Usr 7d3dca04-5671-4738-a277-04fad9b586e4 (talk) to last revision by dorktoast Tag: Rollback |
update docs |
||
| (13 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox/World | {{Infobox/World | ||
| | |id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | ||
}} | }} | ||
==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:''' | |||
* <code>id</code> — the world's VRChat ID (e.g. <code>wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd</code>) | |||
'''Optional (manual only):''' | |||
* <code>developers</code> — additional developers not covered by the API author field | |||
* <code>languages</code> — languages used or available inside the world | |||
==Example== | |||
Minimal usage: | |||
<pre> | <pre> | ||
<nowiki>{{</nowiki>Infobox/World | <nowiki>{{</nowiki>Infobox/World | ||
| | |id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</pre> | </pre> | ||
With optional manual fields: | |||
: | |||
<pre> | <pre> | ||
<nowiki>{{</nowiki> | <nowiki>{{</nowiki>Infobox/World | ||
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | |||
| | |developers=ExampleDev1, ExampleDev2 | ||
| | |languages=English, Japanese, French | ||
| | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</pre> | </pre> | ||
<noinclude>[[Category:Template | ==TemplateData Documentation== | ||
<templatedata> | |||
{ | |||
"params": { | |||
"id": { | |||
"label": "World ID", | |||
"description": "The VRChat world ID.", | |||
"example": "wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"developers": { | |||
"label": "Developers", | |||
"description": "Optional. Additional developer(s) for the wiki article.", | |||
"example": "ExampleDev1, ExampleDev2", | |||
"type": "string" | |||
}, | |||
"languages": { | |||
"label": "Available Languages", | |||
"description": "Optional. Languages used or available inside the world.", | |||
"example": "English, Japanese, French", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"id", | |||
"developers", | |||
"languages" | |||
] | |||
} | |||
</templatedata> | |||
<includeonly>[[Category:Infobox templates{{#translation:}}]]</includeonly> | |||
<noinclude>[[Category:Template documentation{{#translation:}}]]</noinclude> | |||
Latest revision as of 14:33, 13 July 2026
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 |