Template:Infobox/World/doc: Difference between revisions

From VRChat Wiki
Patroll (talk | contribs)
No edit summary
Hackebein (talk | contribs)
update docs
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>[[Category:Template Documentation]]</noinclude>
{{Infobox/World
{{Infobox/World
|name= Example World
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
|image= VrcHomeThumb.png
|author= Example Author
|developers= ExampleDev1, ExampleDev2
|capacity= 80 (40)
|platforms= PC, Android, iOS
|tags= tag1, tag2, tag3, tag4, tag5
|languages= English, Japanese, French
|id= wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
|labs= Jan 1 2024
|published= Jan 1 2024
}}
}}
==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
|name= Example World
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
|image= VrcHomeThumb.png
<nowiki>}}</nowiki>
|author= Example Author
</pre>
|developers= ExampleDev1, ExampleDev2
 
|capacity= 80 (40)
With optional manual fields:
|platforms= PC, Android, iOS
<pre>
|tags= tag1, tag2, tag3, tag4, tag5
<nowiki>{{</nowiki>Infobox/World
|languages= English, Japanese, French
|id=wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
|id= wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd
|developers=ExampleDev1, ExampleDev2
|labs=Jan 1 2024
|languages=English, Japanese, French
|published=Jan 1 2024
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</pre>
</pre>
Line 33: Line 32:
{
{
"params": {
"params": {
"name": {
"id": {
"label": "World Name",
"label": "World ID",
"description": "The name of the VRChat world.",
"description": "The VRChat world ID.",
"type": "string",
"example": "wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd",
"required": true
},
"image": {
"label": "World Image",
"description": "The image used for the thumbnail of the world.",
"example": "thumbnail.webp",
"type": "wiki-file-name",
"required": true
},
"author": {
"label": "World Author",
"description": "The user who has the VRChat world published to their account.",
"example": "AuthorName",
"type": "string",
"type": "string",
"required": true
"required": true
Line 55: Line 41:
"developers": {
"developers": {
"label": "Developers",
"label": "Developers",
"description": "The main developer(s) of the VRChat world. This field is optional if the publisher is the sole developer.",
"description": "Optional. Additional developer(s) for the wiki article.",
"example": "ExampleDev1, ExampleDev2",
"example": "ExampleDev1, ExampleDev2",
"type": "string",
"type": "string"
"suggested": true
},
"capacity": {
"label": "World Capacity",
"description": "The user capacity of the VRChat world, followed by its recommended capacity in parentheses.",
"example": "80 (40)",
"type": "number",
"suggested": true
},
"platforms": {
"label": "Platforms",
"description": "The platforms on which the VRChat world is available. PC, Android and/or iOS.",
"example": "PC, Android, iOS",
"suggested": true
},
"tags": {
"label": "Tags",
"description": "The tags of the VRChat world.",
"example": "tag1, tag2, tag3, tag4, tag5",
"type": "string",
"suggested": true
},
},
"languages": {
"languages": {
"label": "Available Languages",
"label": "Available Languages",
"description": "Languages used or available inside the VRChat world.",
"description": "Optional. Languages used or available inside the world.",
"example": "English, Japanese, French",
"example": "English, Japanese, French",
"type": "string",
"type": "string"
"suggested": true
},
"id": {
"label": "World ID",
"description": "The VRChat world's ID used to link to it on the VRChat website, as well as identify it for other internal purposes. A world's ID can be found at the end of its URL on the VRChat website like so: https://vrchat.com/home/world/wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd",
"example": "wrld_4432ea9b-729c-46e3-8eaf-846aa0a37fdd",
"type": "string",
"required": true
},
"labs": {
"label": "Community Labs publish date",
"description": "The date the VRChat world was published to Community Labs.",
"example": "Jan 1 2024",
"type": "date",
"suggested": true
},
"published": {
"label": "Publish Date",
"description": "The date the VRChat world was published/released from Community Labs.",
"example": "Jan 1 2024",
"type": "date",
"suggested": true
}
}
},
},
"description": "Paste this template into a world page to have the Infobox appear on the top right. It is recommended to paste and fill this out while in the Source Editor, however this can also be done in the Visual Editor. For more guidance on how to best use this, see how other world pages have implemented this Infobox.\n\nFields without contents will not show up on the Infobox.",
"paramOrder": [
"paramOrder": [
"name",
"id",
"image",
"author",
"developers",
"developers",
"capacity",
"languages"
"platforms",
"tags",
"languages",
"id",
"labs",
"published"
]
]
}
}
</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 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

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