Template:Infobox/Mascot/doc: Difference between revisions
From VRChat Wiki
TrixxedHeart (talk | contribs) 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..." |
Add TemplateData and remove Parameters section |
||
| Line 6: | Line 6: | ||
|pronouns= He/It | |pronouns= He/It | ||
}} | }} | ||
== Usage == | |||
Usage | |||
<pre> | <pre> | ||
<nowiki>{{</nowiki>Infobox/World | <nowiki>{{</nowiki>Infobox/World | ||
| Line 21: | Line 16: | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</pre> | </pre> | ||
==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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the mascot, displays the page title by default.
| String | optional |
| Image | image | The image displayed of the mascot.
| File | required |
| First appearance | firstAppearance | When the character first appeared.
| Date | optional |
| Species | species | Species of the mascot.
| String | required |
| Pronouns | pronouns | The character's official pronouns.
| String | optional |