Template:Infobox/Official World: Difference between revisions
From VRChat Wiki
add API data to the infobox if available |
video player update |
||
| (One intermediate revision by the same user not shown) | |||
| Line 13: | Line 13: | ||
<data source="themes"><label><translate><!--T:6--> Themes</translate></label></data> | <data source="themes"><label><translate><!--T:6--> Themes</translate></label></data> | ||
<data source="link"><label><translate><!--T:7--> World Link</translate></label><default>{{#if:{{{id|}}}|{{World link|{{{id}}}|{{#if:{{{name|}}}|{{{name}}}|{{#ifexist:Template:World/{{{id}}}/name|{{World/{{{id}}}/name}}|{{{id}}}}}}}}}}}</default></data> | <data source="link"><label><translate><!--T:7--> World Link</translate></label><default>{{#if:{{{id|}}}|{{World link|{{{id}}}|{{#if:{{{name|}}}|{{{name}}}|{{#ifexist:Template:World/{{{id}}}/name|{{World/{{{id}}}/name}}|{{{id}}}}}}}}}}}</default></data> | ||
<data source="previewYoutubeId" | <data source="previewYoutubeId"> | ||
<format>{{YouTube|id={{{previewYoutubeId}}}|width= | <format><div style="width:248px;margin:0 auto">{{YouTube|id={{{previewYoutubeId}}}|width=248px|thumb=File:{{{id}}}_previewYoutubeId.jpg}}</div></format> | ||
<default>{{#ifexist:Template:World/{{{id|}}}/previewYoutubeId|{{YouTube|id={{World/{{{id|}}}/previewYoutubeId}}|width= | <default>{{#ifexist:Template:World/{{{id|}}}/previewYoutubeId|<div style="width:248px;margin:0 auto">{{YouTube|id={{World/{{{id|}}}/previewYoutubeId}}|width=248px|thumb=File:{{{id|}}}_previewYoutubeId.jpg}}</div>}}</default></data> | ||
</group> | </group> | ||
<group> | <group> | ||
Latest revision as of 20:58, 9 July 2026
Example
{{VRChat world
|name=Example World
|image=ExampleImage.jpg
|imagecaption=An example VRChat world
|developer=Example Developer
|publisher=Example Publisher
|designer=Example Designer
|gen=1st Generation
|platform=PC, VR
|themes=Adventure, Exploration
|link=https://vrchat.com/home/world/wrld_example
|labs=Yes
|published=2024-01-01
}}
TemplateData Documentation
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the VRChat world.
| String | required |
| Image | image | An image representing the world.
| File | required |
| Image caption | imagecaption | A caption for the image.
| String | optional |
| Developer | developer | The developer of the VRChat world.
| String | optional |
| Publisher | publisher | The publisher of the VRChat world.
| String | optional |
| Designer | designer | The designer of the VRChat world.
| String | optional |
| Generation | gen | The generation of the VRChat world.
| String | optional |
| Platform | platform | The platforms on which the VRChat world is available.
| String | required |
| Themes | themes | The themes of the VRChat world.
| String | optional |
| Link | link | The link to the VRChat world.
| URL | optional |
| Labs | labs | Indicates if the world is part of the Community Labs.
| String | optional |
| Published | published | The date when the VRChat world was published.
| Date | optional |