Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CosmeticImage: Difference between revisions

Template page
not doing Standard cosmetics category for now
we love Kezz
Line 1: Line 1:
<includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!--
<includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!--
-->[[Category:Images of {{#switch: {{#invoke:CosmeticInfo|getCategory|name={{{name}}}}}|Hat|Aura|Trail|Cloak|Rod = {{#invoke:CosmeticInfo|getCategory|name={{{name}}}}}s|Accessory = Accessories|Hair = Hair}}]]<!--
-->[[Category:Images of {{#switch: {{#invoke:CosmeticInfo|getCategory|name={{{name}}}}}|Hat|Aura|Trail|Cloak|Rod = {{#invoke:CosmeticInfo|getCategory|name={{{name}}}}}s|Accessory = Accessories|Hair = Hair}}]]<!--
-->{{#if: {{{tag|}}}|[[Category:Images of {{ucfirst:{{lc:{{{tag}}}}}}} cosmetics]]{{#switch: {{{tag}}}|Limited|Collector=[[Category:Images of tradeable cosmetics]]}}}}<!--
-->{{#if: {{{tag|}}}|[[Category:Images of {{ucfirst:{{lc:{{#invoke:CosmeticInfo|getType|name={{{name}}}}}}}}} cosmetics]]{{#switch: {{#invoke:CosmeticInfo|getType|name={{{name}}}}}|LIMITED|COLLECTOR=[[Category:Images of tradeable cosmetics]]}}}}<!--
-->[[Category:Images of {{#invoke:CosmeticInfo|getRarity|name={{{name}}}}} cosmetics]]<!--
-->[[Category:Images of {{#invoke:CosmeticInfo|getRarity|name={{{name}}}}} cosmetics]]<!--
-->[[Category:Images of {{#invoke:CosmeticInfo|getCollection|name={{{name}}}}} Collection cosmetics]]</includeonly><noinclude>
-->[[Category:Images of {{#invoke:CosmeticInfo|getCollection|name={{{name}}}}} Collection cosmetics]]</includeonly><noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"animated": {
"name": {
"description": "Use any value (preferably \"y\" or \"yes\") if the image is animated",
"description": "The name of the cosmetic",
"type": "string",
"required": false
},
"type": {
"description": "The type of the cosmetic",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"tag": {
"animated": {
"description": "The additional type/tag of the cosmetic",
"description": "Use any value (preferably \"y\" or \"yes\") if the image is animated",
"type": "string",
"required": true,
"default": "Standard"
},
"rarity": {
"description": "The rarity of the cosmetic",
"type": "string",
"required": true
},
"rarity2": {
"description": "The second rarity (i.e. Seasonal or Limited) of the cosmetic, if any",
"type": "string",
"type": "string",
"required": false
"required": false
},
"collection": {
"description": "The collection of the cosmetic",
"type": "string",
"required": true
}
}
},
},

Revision as of 10:06, 19 August 2025

This template is intended for use in adding categories to a cosmetic's file page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

The name of the cosmetic

Stringrequired
animatedanimated

Use any value (preferably "y" or "yes") if the image is animated

Stringoptional