Template:Infobox/World: Difference between revisions
From VRChat Wiki
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 27: | Line 27: | ||
<header><translate><!--T:8--> World history</translate></header> | <header><translate><!--T:8--> World history</translate></header> | ||
<data><label><translate><!--T:9--> Published to Labs</translate></label><default>{{#ifexist:Template:World/{{{id}}}/labsPublicationDate|{{#ifeq:{{World/{{{id}}}/labsPublicationDate}}|none||{{Date|{{World/{{{id}}}/labsPublicationDate}}}}}}}}</default></data> | <data><label><translate><!--T:9--> Published to Labs</translate></label><default>{{#ifexist:Template:World/{{{id}}}/labsPublicationDate|{{#ifeq:{{World/{{{id}}}/labsPublicationDate}}|none||{{Date|{{World/{{{id}}}/labsPublicationDate}}}}}}}}</default></data> | ||
<data source="published"><label><translate><!--T:10--> Published</translate></label><default>{{#ifexist:Template:World/{{{id}}}/publicationDate|{{# | <data source="published"><label><translate><!--T:10--> Published</translate></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><translate><!--T:13--> Last updated</translate></label><default>{{#ifexist:Template:World/{{{id}}}/updated_at|{{Date|{{World/{{{id}}}/updated_at}}}}}}</default></data> | <data><label><translate><!--T:13--> Last updated</translate></label><default>{{#ifexist:Template:World/{{{id}}}/updated_at|{{Date|{{World/{{{id}}}/updated_at}}}}}}</default></data> | ||
<data><label><translate><!--T:14--> Version</translate></label><default>{{#ifexist:Template:World/{{{id}}}/version|{{World/{{{id}}}/version}}}}</default></data> | <data><label><translate><!--T:14--> Version</translate></label><default>{{#ifexist:Template:World/{{{id}}}/version|{{World/{{{id}}}/version}}}}</default></data> | ||
Latest revision as of 17:01, 13 September 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 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/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
|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 |