Template:CosmeticImage: Difference between revisions
Template page
More actions
added tradeable category |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | <includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | ||
-->[[Category:Images of {{#switch: {{#invoke:CosmeticInfo| | -->[[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]]}}|[[Category:Images of Standard cosmetics]]}}<!-- | -->{{#if: {{{tag|}}}|[[Category:Images of {{ucfirst:{{lc:{{{tag}}}}}}} cosmetics]]{{#switch: {{{tag}}}|Limited|Collector=[[Category:Images of tradeable cosmetics]]}}|[[Category:Images of Standard cosmetics]]}}<!-- | ||
-->[[Category:Images of {{#invoke:CosmeticInfo|getRarity|name={{{name}}}}} cosmetics]]<!-- | -->[[Category:Images of {{#invoke:CosmeticInfo|getRarity|name={{{name}}}}} cosmetics]]<!-- |
Revision as of 14:32, 16 July 2025
This template is intended for use in adding categories to a cosmetic's file page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
animated | animated | Use any value (preferably "y" or "yes") if the image is animated | String | optional |
type | type | The type of the cosmetic | String | required |
tag | tag | The additional type/tag of the cosmetic
| String | required |
rarity | rarity | The rarity of the cosmetic | String | required |
rarity2 | rarity2 | The second rarity (i.e. Seasonal or Limited) of the cosmetic, if any | String | optional |
collection | collection | The collection of the cosmetic | String | required |