Template:Infobox/AvatarType/doc: Difference between revisions

From VRChat Wiki
m Fix misleading published date examples
~Pausbe (talk | contribs)
add categories
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
|published= January 1, 2024
|published= January 1, 2024
}}
}}
Paste this template into an Avatar Page for an Avatar Base 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 Avatar pages have implemented this infobox.
This template is for writing about Avatar Types, also known as Avatar Bases. Do not use this template to reference a specific Avatar. For a specific Avatar use [[Template:Infobox/Avatar]]
Fields without contents will not show up on the infobox.
Usage:
<pre>
<nowiki>{{</nowiki>Infobox/AvatarType
|name=
|image=
|author=
|published= January 1, 2024
<nowiki>}}</nowiki>
</pre>
==Parameters==
<nowiki>*</nowiki> = Mandatory
;name*
: The name of the avatar base.
;image*
: The image used for the thumbnail of the avatar.
;author*
: The user who has created the original avatar base.
;published
: The date this Avatar base was first published.
==Example==
==Example==
<pre>
<pre>
Line 45: Line 14:
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</pre>
</pre>
<noinclude>[[Category:Template Documentation]]</noinclude>
==TemplateData Documentation==
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "The name of the avatar base.",
"example": "Example Avatar",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "The image used for the thumbnail of the avatar.",
"example": "Robot_Avatar_Thumbnail.png",
"type": "wiki-file-name",
"required": true
},
"author": {
"label": "Author",
"description": "The user who has created the original avatar base.",
"example": "Example Author",
"type": "string",
"required": true
},
"published": {
"label": "Published",
"description": "The date this avatar base was first published.",
"example": "January 1, 2024",
"type": "date"
}
},
"description": "Paste this template into an Avatar Page for an Avatar Base 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 Avatar pages have implemented this infobox.\n\nThis template is for writing about Avatar Types, also known as Avatar Bases. Do not use this template to reference a specific Avatar. For a specific Avatar use [[Template:Infobox/Avatar]]\n\nFields without contents will not show up on the infobox.",
"paramOrder": [
"name",
"image",
"author",
"published"
]
}
</templatedata>
 
<includeonly>[[Category:Infobox templates{{#translation:}}]]</includeonly>
<noinclude>[[Category:Template documentation{{#translation:}}]]</noinclude>

Latest revision as of 03:30, 21 April 2026

Example

{{Infobox/AvatarType
|name= Example Avatar
|image= File:Robot_Avatar_Thumbnail.png
|author= Example Author
|published= January 1, 2024
}}

TemplateData Documentation

Paste this template into an Avatar Page for an Avatar Base 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 Avatar pages have implemented this infobox. This template is for writing about Avatar Types, also known as Avatar Bases. Do not use this template to reference a specific Avatar. For a specific Avatar use [[Template:Infobox/Avatar]] Fields without contents will not show up on the infobox.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the avatar base.

Example
Example Avatar
Stringrequired
Imageimage

The image used for the thumbnail of the avatar.

Example
Robot_Avatar_Thumbnail.png
Filerequired
Authorauthor

The user who has created the original avatar base.

Example
Example Author
Stringrequired
Publishedpublished

The date this avatar base was first published.

Example
January 1, 2024
Dateoptional