Template:Infobox/World/doc: Difference between revisions
From VRChat Wiki
No edit summary |
update docs |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox/World | {{Infobox/World | ||
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | |||
|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== | ==Example== | ||
Minimal usage: | |||
<pre> | <pre> | ||
<nowiki>{{</nowiki>Infobox/World | <nowiki>{{</nowiki>Infobox/World | ||
| | |id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | ||
<nowiki>}}</nowiki> | |||
</pre> | |||
With optional manual fields: | |||
<pre> | |||
<nowiki>{{</nowiki>Infobox/World | |||
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | |||
|id= wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd | |developers=ExampleDev1, ExampleDev2 | ||
| | |languages=English, Japanese, French | ||
| | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</pre> | </pre> | ||
| Line 33: | Line 32: | ||
{ | { | ||
"params": { | "params": { | ||
" | "id": { | ||
"label": "World | "label": "World ID", | ||
"description": "The | "description": "The VRChat world ID.", | ||
"example": "wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd", | |||
"example": " | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 55: | Line 41: | ||
"developers": { | "developers": { | ||
"label": "Developers", | "label": "Developers", | ||
"description": " | "description": "Optional. Additional developer(s) for the wiki article.", | ||
"example": "ExampleDev1, ExampleDev2", | "example": "ExampleDev1, ExampleDev2", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"languages": { | "languages": { | ||
"label": "Available Languages", | "label": "Available Languages", | ||
"description": "Languages used or available inside the | "description": "Optional. Languages used or available inside the world.", | ||
"example": "English, Japanese, French", | "example": "English, Japanese, French", | ||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "id", | ||
"developers", | "developers", | ||
"languages" | |||
"languages | |||
] | ] | ||
} | } | ||
</templatedata> | </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 |