Template:Infobox/AvatarType: Difference between revisions
Adds {{#translation:}} to avatar category |
Tony Lewis (talk | contribs) m Mark for translations Tag: Reverted |
||
| Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
<!--T:1--> | |||
<includeonly><infobox type="AvatarType" theme="community"> | <includeonly><infobox type="AvatarType" theme="community"> | ||
<title source="name"><default>'''Missing name!'''</default></title> | <title source="name"><default>'''Missing name!'''</default></title> | ||
| Line 6: | Line 9: | ||
<data source="published"><label>Published</label></data> | <data source="published"><label>Published</label></data> | ||
</group> | </group> | ||
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 3000 | [[Category:Avatars{{#translation:}}]] [[Category:Community Content]]}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Avatars{{#translation:}}]]}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude> | </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 3000 | | ||
</translate> | |||
[[Category:Avatars{{#translation:}}]] [[Category:Community Content]]}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Avatars{{#translation:}}]]}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Templates]]</noinclude> | |||
Revision as of 01:14, 19 September 2025
<translate>
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the avatar base.
| String | required |
| Image | image | The image used for the thumbnail of the avatar.
| File | required |
| Author | author | The user who has created the original avatar base.
| String | required |
| Published | published | The date this avatar base was first published.
| Date | optional |