Template:Infobox/World: Difference between revisions

From VRChat Wiki
No edit summary
No edit summary
 
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly><infobox type="World" theme="community">
<noinclude><languages/></noinclude><includeonly><infobox type="World" theme="community">
<title source="name"/>
<title source="name"><default>'''Missing name!'''</default></title>
<image source="image">
<image source="image"><default>[[File:Placeholder.webp|Missing thumbnail image!]]</default></image>
    <caption source="imagecaption" />
</image>
<group>
<group>
         <data source="developer"><label>Developer</label></data>
         <data source="author"><label><translate><!--T:1--> Author</translate></label><default>'''Missing author!'''</default></data>
         <data source="publisher"><label>Publisher</label></data>
         <data source="developers"><label><translate><!--T:2--> Developers</translate></label></data>
    <data source="designer"><label>Designer</label></data>
        <data source="capacity"><label><translate><!--T:3--> Capacity</translate></label></data>
    <data source="gen"><label>Generation</label></data>
        <data source="platforms"><label><translate><!--T:4--> Platforms</translate></label></data>
         <data source="platform"><label>Platforms</label></data>
         <data source="tags"><label><translate><!--T:5--> Tags</translate></label></data>
         <data source="themes"><label>Themes</label></data>
         <data source="languages"><label><translate><!--T:6--> Languages</translate></label></data>
         <data source="link"><label>World Link</label></data>
         <data source="id"><label><translate><!--T:7--> World Link</translate></label>
          <default>'''Missing world ID!'''</default>
          <format>{{World link|{{{id}}}|{{{name}}}}}</format></data>
     </group>
     </group>
     <group>
     <group>
         <header>World history</header>
         <header><translate><!--T:8--> World history</translate></header>
         <data source="labs"><label>Community Labs</label></data>
         <data source="labs"><label><translate><!--T:9--> Published to Labs</translate></label></data>
         <data source="published"><label>Published</label></data>
         <data source="published"><label><translate><!--T:10--> Published</translate></label></data>
     </group>
     </group>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 3000 | [[Category:Worlds]] [[Category:Community Content]]}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Worlds]]}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]]</noinclude>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 3000 | [[Category:Community Content]]}}[[Category:Worlds{{#translation:}}]]</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude>

Latest revision as of 21:45, 19 October 2024

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.

Fields without contents will not show up on the infobox.

Usage:

{{Infobox/World
|name=
|image=
|author=
|developers=
|capacity=
|platforms=
|tags=
|languages=
|id=
|labs=
|published=
}}

Parameters

* = Mandatory

name*
The name of the VRChat world.
image*
The image used for the thumbnail of the world.
author*
The user who has the VRChat world published to their account.
developers
The main developer(s) of the VRChat world. This field is optional if the publisher is the sole developer.
capacity
The user capacity of the VRChat world, followed by its recommended capacity in parentheses.
platforms
The platforms on which the VRChat world is available. PC, Android and/or iOS.
tags
The tags of the VRChat world.
languages
Languages used or available inside the VRChat world.
id*
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
labs
The date the VRChat world was published to Community Labs.
published
The date the VRChat world was published/released from Community Labs.

Example

{{Infobox/World
|name= Example World
|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
}}

/* Neccessary for templatedata for visual editor */

Infobox used for world pages

Template parameters

ParameterDescriptionTypeStatus
World Namename

The name of the VRChat world.

Stringrequired
World Imageimage

The image used for the thumbnail of the world.

Example
thumbnail.webp
Filerequired
World Authorauthor

The user who has the VRChat world published to their account.

Example
AuthorName
Stringrequired
Developersdevelopers

The main developer(s) of the VRChat world. This field is optional if the publisher is the sole developer.

Example
ExampleDev1, ExampleDev2
Stringsuggested
World Capacitycapacity

The user capacity of the VRChat world, followed by its recommended capacity in parentheses.

Example
80 (40)
Numbersuggested
Platformsplatforms

The platforms on which the VRChat world is available. PC, Android and/or iOS.

Example
PC, Android, iOS
Unknownsuggested
Tagstags

The tags of the VRChat world.

Example
tag1, tag2, tag3, tag4, tag5
Stringsuggested
Available Languageslanguages

Languages used or available inside the VRChat world.

Example
English, Japanese, French
Stringsuggested
World IDid

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
Stringrequired
Community Labs publish datelabs

The date the VRChat world was published to Community Labs.

Example
Jan 1 2024
Datesuggested
Publish Datepublished

The date the VRChat world was published/released from Community Labs.

Example
Jan 1 2024
Datesuggested