Template:Infobox/World: Difference between revisions

From VRChat Wiki
No edit summary
No edit summary
 
(45 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<onlyinclude>{| class="wikitable" style="max-width:256px; float:right;"
<noinclude><languages/></noinclude><includeonly><infobox type="World" theme="community">
! colspan="2" |{{{1|MISSING NAME}}}
<title source="name"><default>'''Missing name!'''</default></title>
|-
<image source="image"><default>[[File:Placeholder.webp|Missing thumbnail image!]]</default></image>
| colspan="2" style="max-height:192px;" |
<group>
[[File:{{{2|Worldplaceholder.webp}}}|center]]
        <data source="author"><label><translate><!--T:1--> Author</translate></label><default>'''Missing author!'''</default></data>
|-
        <data source="developers"><label><translate><!--T:2--> Developers</translate></label></data>
!Creator:
        <data source="capacity"><label><translate><!--T:3--> Capacity</translate></label></data>
|{{{3|missing}}}
        <data source="platforms"><label><translate><!--T:4--> Platforms</translate></label></data>
|-
        <data source="tags"><label><translate><!--T:5--> Tags</translate></label></data>
!Platforms:
        <data source="languages"><label><translate><!--T:6--> Languages</translate></label></data>
|{{{4|missing}}}
        <data source="id"><label><translate><!--T:7--> World Link</translate></label>
|-
          <default>'''Missing world ID!'''</default>
!Visits:
          <format>{{World link|{{{id}}}|{{{name}}}}}</format></data>
|{{{5|missing}}}
    </group>
|-
    <group>
!Favorites:
        <header><translate><!--T:8--> World history</translate></header>
|{{{6|missing}}}
        <data source="labs"><label><translate><!--T:9--> Published to Labs</translate></label></data>
|-
        <data source="published"><label><translate><!--T:10--> Published</translate></label></data>
!Capacity:
    </group>
|{{{7|min}}} ({{{8|max}}})
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 3000 | [[Category:Community Content]]}}[[Category:Worlds{{#translation:}}]]</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude>
|-
{{#if: {{{CW|}}} |
! Content Warnings:
{{pipe}} {{{CW}}}
}}
|-
{{#if: {{{link|}}} |
! colspan="2" {{pipe}}[{{{link}}} World Link]
}}
|}</onlyinclude>
{{templatedocs}}
Category:Templates
Category:Templates/Infoboxes

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