Template:Infobox/Official World/doc: Difference between revisions
From VRChat Wiki
Add TemplateData and removeParameters section |
update docs |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox/Official World | {{Infobox/Official World | ||
| | |id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | ||
}} | }} | ||
==Usage== | |||
Paste this template at the top of an official 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 developer field | |||
* <code>languages</code> — languages used or available inside the world | |||
==Example== | ==Example== | ||
Minimal usage: | |||
<pre> | <pre> | ||
<nowiki>{{</nowiki> | <nowiki>{{</nowiki>Infobox/Official World | ||
| | |id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | ||
<nowiki>}}</nowiki> | |||
</pre> | |||
With optional manual fields: | |||
<pre> | |||
| | <nowiki>{{</nowiki>Infobox/Official World | ||
| | |id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | ||
| | |developers=ExampleDev1, ExampleDev2 | ||
|languages=English, Japanese, French | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</pre> | </pre> | ||
| Line 30: | Line 32: | ||
{ | { | ||
"params": { | "params": { | ||
" | "id": { | ||
"label": " | "label": "World ID", | ||
"description": "The | "description": "The VRChat world ID.", | ||
"example": " | "example": "wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "developers": { | ||
"label": " | "label": "Developers", | ||
"description": " | "description": "Optional. Additional developer(s) for the wiki article.", | ||
"example": "ExampleDev1, ExampleDev2", | |||
"example": " | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "languages": { | ||
"label": " | "label": "Available Languages", | ||
"description": " | "description": "Optional. Languages used or available inside the world.", | ||
"example": "English, Japanese, French", | |||
"example": " | |||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "id", | ||
" | "developers", | ||
" | "languages" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:Infobox templates{{#translation:}}]]</includeonly> | |||
<noinclude>[[Category:Template documentation{{#translation:}}]]</noinclude> | |||
Latest revision as of 15:25, 13 July 2026
Usage
Paste this template at the top of an official 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 developer fieldlanguages— languages used or available inside the world
Example
Minimal usage:
{{Infobox/Official World
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
}}
With optional manual fields:
{{Infobox/Official 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 |