Template:CosmeticImage: Difference between revisions
Template page
More actions
Created page with "<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 {{lc:{{{collection}}}}} Collection cosmetics]]}}</includeonly> <noinclude>..." |
m collection name fix |
||
Line 3: | Line 3: | ||
{{#if: {{{rarity|}}}|[[Category:Images of {{lc:{{{rarity}}}}} cosmetics]]}} | {{#if: {{{rarity|}}}|[[Category:Images of {{lc:{{{rarity}}}}} cosmetics]]}} | ||
{{#if: {{{rarity2|}}}|[[Category:Images of {{lc:{{{rarity2}}}}} cosmetics]]}} | {{#if: {{{rarity2|}}}|[[Category:Images of {{lc:{{{rarity2}}}}} cosmetics]]}} | ||
{{#if: {{{collection|}}}|[[Category:Images of | {{#if: {{{collection|}}}|[[Category:Images of {{{collection}}} Collection cosmetics]]}}</includeonly> | ||
<noinclude><templatedata> | <noinclude><templatedata> | ||
{ | { |
Revision as of 10:36, 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 |