Template:CosmeticImage: Difference between revisions
Template page
More actions
m changed category names to have more upper case |
added Hair to type parameter switch statement |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | <includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | ||
-->{{#if: {{{type|}}}|[[Category:Images of {{#switch: {{lc:{{{type}}}}}|hat|aura|trail|cloak = {{ucfirst:{{{type}}}}}s|accessory = Accessories}}]]}}<!-- | -->{{#if: {{{type|}}}|[[Category:Images of {{#switch: {{lc:{{{type}}}}}|hat|aura|trail|cloak = {{ucfirst:{{{type}}}}}s|accessory = Accessories|hair = Hair}}]]}}<!-- | ||
-->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} cosmetics]]}}<!-- | -->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} cosmetics]]}}<!-- | ||
-->{{#if: {{{rarity2|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity2}}}}}}} cosmetics]]}}<!-- | -->{{#if: {{{rarity2|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity2}}}}}}} cosmetics]]}}<!-- |
Revision as of 13:49, 1 November 2024
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 |
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 |