Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CosmeticImage: Difference between revisions

Template page
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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
animatedanimated

Use any value (preferably "y" or "yes") if the image is animated

Stringoptional
typetype

The type of the cosmetic

Stringrequired
rarityrarity

The rarity of the cosmetic

Stringrequired
rarity2rarity2

The second rarity (i.e. Seasonal or Limited) of the cosmetic, if any

Stringoptional
collectioncollection

The collection of the cosmetic

Stringrequired