Template:CosmeticImage: Difference between revisions
Template page
More actions
m prevent massive space being added |
Test |
||
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 = {{{type}}}s|accessory = accessories}}]]}}{{#if: {{{rarity|}}}|[[Category:Images of {{lc:{{{rarity}}}}} cosmetics]]}}{{#if: {{{rarity2|}}}|[[Category:Images of {{lc:{{{rarity2}}}}} cosmetics]]}}{{#if: {{{collection|}}}|[[Category:Images of {{{collection}}} Collection cosmetics]]}}</includeonly> | ||
<noinclude><templatedata> | <noinclude><templatedata> | ||
{ | { |
Revision as of 14:49, 27 October 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 |