Template:Infobox/World: Difference between revisions

From VRChat Wiki
m normalize dates using timel function
m make date format translatable
Line 17: Line 17:
         <data source="labs">
         <data source="labs">
             <label><translate><!--T:9--> Published to Labs</translate></label>
             <label><translate><!--T:9--> Published to Labs</translate></label>
             <format>{{#timel: F d, Y|{{{labs}}}}}</format>
             <format><translate>{{#timel:F d, Y |<tvar name="date">{{{labs}}}</tvar>}}</translate></format>
         </data>
         </data>
         <data source="published">
         <data source="published">
             <label><translate><!--T:10--> Published</translate></label>
             <label><translate><!--T:10--> Published</translate></label>
             <format>{{#timel: F d, Y|{{{published}}}}}</format>
             <format><translate>{{#timel:F d, Y |<tvar name="date">{{{published}}}</tvar>}}</translate></format>
         </data>
         </data>
     </group>
     </group>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 3000 | [[Category:Community Content]]}}[[Category:Worlds{{#translation:}}]]</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 3000 | [[Category:Community Content]]}}[[Category:Worlds{{#translation:}}]]</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude>

Revision as of 16:39, 4 May 2025

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 field
  • languages — 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
World IDid

The VRChat world ID.

Example
wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
Stringrequired
Developersdevelopers

Optional. Additional developer(s) for the wiki article.

Example
ExampleDev1, ExampleDev2
Stringoptional
Available Languageslanguages

Optional. Languages used or available inside the world.

Example
English, Japanese, French
Stringoptional