Template:Infobox/Official World/en: Difference between revisions
From VRChat Wiki
Updating to match new version of source page |
Updating to match new version of source page |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude><languages/></noinclude><includeonly><infobox type="World" theme="official"> | <noinclude><languages/></noinclude><includeonly>{{#if:{{{id|}}}| | ||
<title | {{#ifexist:Template:World/{{{id}}}/name| | ||
<image | <infobox type="World" theme="official"> | ||
<title><default>{{World/{{{id}}}/name}}</default></title> | |||
<image><default>{{#ifexist:Media:{{{id}}}_imageUrl.png|[[File:{{{id}}}_imageUrl.png]]}}</default></image> | |||
<group> | <group> | ||
<data | <data><label>Developer</label><default>{{#ifexist:Template:World/{{{id}}}/authorName|{{#ifexist:Template:World/{{{id}}}/authorId|[https://vrchat.com/home/user/{{World/{{{id}}}/authorId}} {{World/{{{id}}}/authorName}}]|{{World/{{{id}}}/authorName}}}}}}</default></data> | ||
<data source=" | <data source="developers"><label>Developers</label></data> | ||
<data><label>Capacity</label><default>{{#ifexist:Template:World/{{{id}}}/recommendedCapacity|{{#ifexist:Template:World/{{{id}}}/capacity|{{World/{{{id}}}/recommendedCapacity}} (max {{World/{{{id}}}/capacity}})}}}}</default></data> | |||
<data><label>Platforms</label><default>{{#ifexist:Template:World/{{{id}}}/platforms|{{World/{{{id}}}/platforms}}}}</default></data> | |||
<data | <data><label>Tags</label><default>{{#ifexist:Template:World/{{{id}}}/tags|{{World/{{{id}}}/tags}}}}</default></data> | ||
<data | <data><label>Listing</label><default>{{#ifexist:Template:World/{{{id}}}/listing|{{World/{{{id}}}/listing}}}}</default></data> | ||
<data | <data><label>Content</label><default>{{#ifexist:Template:World/{{{id}}}/content|{{World/{{{id}}}/content}}}}</default></data> | ||
<data | <data source="languages"><label>Languages</label></data> | ||
<data source="id"><label>World Link</label> | |||
<format>{{World link|{{{id}}}|{{#ifexist:Template:World/{{{id}}}/name|{{World/{{{id}}}/name}}|{{{id}}}}}}}</format></data> | |||
<data><default>{{#ifexist:Template:World/{{{id}}}/previewYoutubeId|<div style="width:248px;margin:0 auto">{{YouTube|id={{World/{{{id}}}/previewYoutubeId}}|width=248px|thumb=File:{{{id}}}_previewYoutubeId.jpg}}</div>}}</default></data> | |||
</group> | |||
<group> | |||
<header>Statistics</header> | |||
<data><label>Visits</label><default>{{#ifexist:Template:World/{{{id}}}/visits|{{World/{{{id}}}/visits}}}}</default></data> | |||
<data><label>Favorites</label><default>{{#ifexist:Template:World/{{{id}}}/favorites|{{World/{{{id}}}/favorites}}}}</default></data> | |||
<data><label>Popularity</label><default>{{#ifexist:Template:World/{{{id}}}/popularity|{{#switch:{{World/{{{id}}}/popularity}}|0=|1=❤️|2=❤️❤️|3=❤️❤️❤️|4=❤️❤️❤️❤️|5=❤️❤️❤️❤️❤️|6=❤️❤️❤️❤️❤️❤️|7=❤️❤️❤️❤️❤️❤️❤️|8=❤️❤️❤️❤️❤️❤️❤️❤️|9=❤️❤️❤️❤️❤️❤️❤️❤️❤️|10=❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️}}}}</default></data> | |||
<data><label>Heat</label><default>{{#ifexist:Template:World/{{{id}}}/heat|{{#switch:{{World/{{{id}}}/heat}}|0=|1=🔥|2=🔥🔥|3=🔥🔥🔥|4=🔥🔥🔥🔥|5=🔥🔥🔥🔥🔥|6=🔥🔥🔥🔥🔥🔥|7=🔥🔥🔥🔥🔥🔥🔥|8=🔥🔥🔥🔥🔥🔥🔥🔥|9=🔥🔥🔥🔥🔥🔥🔥🔥🔥|10=🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥}}}}</default></data> | |||
</group> | </group> | ||
<group> | <group> | ||
<header>World history</header> | <header>World history</header> | ||
<data | <data><label>Published to Labs</label><default>{{#ifexist:Template:World/{{{id}}}/labsPublicationDate|{{#ifeq:{{World/{{{id}}}/labsPublicationDate}}|none||{{Date|{{World/{{{id}}}/labsPublicationDate}}}}}}}}</default></data> | ||
<data source="published"><label>Published</label><default>{{#ifexist:Template:World/{{{id|}}}/ | <data source="published"><label>Published</label><default>{{#ifexist:Template:World/{{{id}}}/publicationDate|{{#ifexist:Template:World/{{{id}}}/created_at|{{#ifexpr:{{#time:U|2019-03-13T00:00:00Z}}>{{#iferror:{{#time:U|{{World/{{{id}}}/created_at}}}}|0}}|{{#ifeq:{{#ifexist:Template:World/{{{id}}}/labsPublicationDate|{{World/{{{id}}}/labsPublicationDate}}|none}}|none|before {{Date|2019-03-13}}{{#tag:abbr|*|title=The Community Labs feature was released on {{Date|2019-03-13}}. This world was published before that date.}}|{{Date|{{World/{{{id}}}/publicationDate}}}}}}|{{Date|{{World/{{{id}}}/publicationDate}}}}}}|{{Date|{{World/{{{id}}}/publicationDate}}}}}}}}</default></data> | ||
<data><label>Last updated</label><default>{{#ifexist:Template:World/{{{id}}}/updated_at|{{Date|{{World/{{{id}}}/updated_at}}}}}}</default></data> | |||
<data><label>Version</label><default>{{#ifexist:Template:World/{{{id}}}/version|{{World/{{{id}}}/version}}}}</default></data> | |||
</group> | |||
</infobox> | |||
| | |||
{{Noticebox | |||
|template=Noticebox | |||
|image=Vrrat_posed-right.png | |||
|title=Hang tight… | |||
|description=World info is still loading — check back in a bit.}} | |||
<infobox type="World" theme="official"> | |||
<title><default>Loading…</default></title> | |||
<image><default>[[File:Placeholder.webp]]</default></image> | |||
<group> | |||
<data><label>Developer</label><default>…</default></data> | |||
<data source="developers"><label>Developers</label></data> | |||
<data><label>Capacity</label><default>…</default></data> | |||
<data><label>Platforms</label><default>…</default></data> | |||
<data><label>Tags</label><default>…</default></data> | |||
<data><label>Listing</label><default>…</default></data> | |||
<data><label>Content</label><default>…</default></data> | |||
<data source="languages"><label>Languages</label></data> | |||
<data source="id"><label>World Link</label> | |||
<format>{{World link|{{{id}}}|{{{id}}}}}</format></data> | |||
</group> | |||
<group> | |||
<header>Statistics</header> | |||
<data><label>Visits</label><default>…</default></data> | |||
<data><label>Favorites</label><default>…</default></data> | |||
<data><label>Popularity</label><default>…</default></data> | |||
<data><label>Heat</label><default>…</default></data> | |||
</group> | |||
<group> | |||
<header>World history</header> | |||
<data><label>Published to Labs</label><default>…</default></data> | |||
<data source="published"><label>Published</label><default>…</default></data> | |||
<data><label>Last updated</label><default>…</default></data> | |||
<data><label>Version</label><default>…</default></data> | |||
</group> | |||
</infobox> | |||
}}| | |||
<infobox type="World" theme="official"> | |||
<group> | |||
<data><label>World Link</label><default>''No world id provided''</default></data> | |||
</group> | </group> | ||
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Worlds{{#translation:}}]] [[Category:Official Content{{#translation:}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | </infobox> | ||
}}{{ #ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Worlds{{#translation:}}]] [[Category:Official Content{{#translation:}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
Latest revision as of 17:59, 13 September 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 worldpublished— overwrite the Published row. Any wikitext is allowed. For a single date, use{{Date|YYYY-MM-DD}}. Use free text when the API date is not the public-release story (for example a remaster note).
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
|published={{Date|2017-02-01}}
}}
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 |
| Published | published | Optional. Overwrite the Published row. Prefer {{Date|YYYY-MM-DD}} for a single date; free text is allowed.
| String | optional |