Template:CosmeticImage: Difference between revisions
Template page
More actions
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:{{{ | -->{{#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": { | ||
" | "name": { | ||
"description": "The name of the cosmetic", | |||
"description": "The | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "animated": { | ||
"description": " | "description": "Use any value (preferably \"y\" or \"yes\") if the image is animated", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | } | ||
}, | }, |
Revision as of 10:06, 19 August 2025
This template is intended for use in adding categories to a cosmetic's file page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the cosmetic | String | required |
animated | animated | Use any value (preferably "y" or "yes") if the image is animated | String | optional |