Template:CosmeticImage: Difference between revisions
Template page
More actions
m Undo revision 6177 by MTOnline69 (talk) |
m changed category names to have more upper case |
||
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 = | -->{{#if: {{{type|}}}|[[Category:Images of {{#switch: {{lc:{{{type}}}}}|hat|aura|trail|cloak = {{ucfirst:{{{type}}}}}s|accessory = Accessories}}]]}}<!-- | ||
-->{{#if: {{{rarity|}}}|[[Category:Images of {{lc:{{{rarity}}}}} cosmetics]]}}<!-- | -->{{#if: {{{rarity|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity}}}}}}} cosmetics]]}}<!-- | ||
-->{{#if: {{{rarity2|}}}|[[Category:Images of {{lc:{{{rarity2}}}}} cosmetics]]}}<!-- | -->{{#if: {{{rarity2|}}}|[[Category:Images of {{ucfirst:{{lc:{{{rarity2}}}}}}} cosmetics]]}}<!-- | ||
-->{{#if: {{{collection|}}}|[[Category:Images of {{{collection}}} Collection cosmetics]]}}</includeonly><noinclude> | -->{{#if: {{{collection|}}}|[[Category:Images of {{{collection}}} Collection cosmetics]]}}</includeonly><noinclude> | ||
Revision as of 17:10, 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 |