Template:Infobox/Mascot/doc: Difference between revisions

From VRChat Wiki
Created page with "{{Infobox/Mascot |name= VRCat |image= VRCat.webp |firstAppearance= Nov 19, 2020 |species= Cat |pronouns= He/It }} Paste this template into a Mascot 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 Mascot pages have implemented this infobox. Fields without contents will not show up on the in..."
 
Patroll (talk | contribs)
Add TemplateData and remove Parameters section
Line 6: Line 6:
|pronouns= He/It
|pronouns= He/It
}}
}}
Paste this template into a Mascot 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 Mascot pages have implemented this infobox.
== Usage ==
 
Fields without contents will not show up on the infobox.
 
Usage:
 
<pre>
<pre>
<nowiki>{{</nowiki>Infobox/World
<nowiki>{{</nowiki>Infobox/World
Line 21: Line 16:
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</pre>
</pre>
==Parameters==
<nowiki>*</nowiki> = Mandatory
;name
: The name of the mascot, displays the page title by default.
;image*
: The image displayed of the mascot.
;First appearance*
: When the character first appeared.
;Species*
: Species of the mascot.
;Pronouns
: The character's official pronouns.


==Example==
==Example==
Line 51: Line 28:
</pre>
</pre>
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>
==Documentation==
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "The name of the mascot, displays the page title by default.",
"example": "VRCat",
"type": "string"
},
"image": {
"label": "Image",
"description": "The image displayed of the mascot.",
"example": "VRCat.webp",
"type": "wiki-file-name",
"required": true
},
"firstAppearance": {
"label": "First appearance",
"description": "When the character first appeared.",
"example": "Nov 19, 2020",
"type": "date"
},
"species": {
"label": "Species",
"description": "Species of the mascot.",
"example": "Cat",
"type": "string",
"required": true
},
"pronouns": {
"label": "Pronouns",
"description": "The character's official pronouns.",
"example": "He/It",
"type": "string"
}
},
"description": "Paste this template into a mascot 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 mascot pages have implemented this Infobox.\n\nFields without contents will not show up on the Infobox."
}
</templatedata>

Revision as of 16:23, 9 April 2025

Usage

{{Infobox/World
|name=
|image=
|firstAppearance=
|species=
|pronouns=
}}

Example

{{Infobox/Mascot
|name= VRCat
|image= VRCat.webp
|firstAppearance= Nov 19, 2020
|species= Cat
|pronouns= He/It
}}

Documentation

Paste this template into a mascot 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 mascot pages have implemented this Infobox. Fields without contents will not show up on the Infobox.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the mascot, displays the page title by default.

Example
VRCat
Stringoptional
Imageimage

The image displayed of the mascot.

Example
VRCat.webp
Filerequired
First appearancefirstAppearance

When the character first appeared.

Example
Nov 19, 2020
Dateoptional
Speciesspecies

Species of the mascot.

Example
Cat
Stringrequired
Pronounspronouns

The character's official pronouns.

Example
He/It
Stringoptional