Template:Cosmetic: Difference between revisions
Template page
More actions
Switch to AFix for image source |
Added automatic categories |
||
Line 21: | Line 21: | ||
-->| epic = [[File:Epic.png|x18px|center|link=]]<!-- | -->| epic = [[File:Epic.png|x18px|center|link=]]<!-- | ||
-->| legendary = [[File:Legendary.png|x18px|center|frameless|link=]]<!-- | -->| legendary = [[File:Legendary.png|x18px|center|frameless|link=]]<!-- | ||
-->| mythic = [[File:Mythic.png|x18px|center|link=]]}}</format> | -->| mythic = [[File:Mythic.png|x18px|center|link=]]}}[[Category:{{ucfirst:{{{rarity}}}}} Cosmetics]]</format> | ||
</data> | </data> | ||
<data source="rarity2"> | <data source="rarity2"> | ||
<format>{{#switch: {{lc:{{{rarity2}}}}}<!-- | <format>{{#switch: {{lc:{{{rarity2}}}}}<!-- | ||
-->| seasonal = [[File:Seasonal.png|x18px|center|link=]]<!-- | -->| seasonal = [[File:Seasonal.png|x18px|center|link=]]<!-- | ||
-->| limited = [[File:Limited.png|x18px|center|link=]]}}</format> | -->| limited = [[File:Limited.png|x18px|center|link=]]}}[[Category:{{ucfirst:{{{rarity2}}}}} Cosmetics]]</format> | ||
</data> | </data> | ||
<data source="chroma_applicable"> | <data source="chroma_applicable"> | ||
Line 68: | Line 68: | ||
-->| bonus = [[File:Bonus Collection.png|32px|center|link=Bonus Collection]] [[Bonus Collection]]<!-- | -->| bonus = [[File:Bonus Collection.png|32px|center|link=Bonus Collection]] [[Bonus Collection]]<!-- | ||
-->| aura = [[File:Icon-Aura.png|32px|center|link=Aura Collection]] [[Aura Collection]]<!-- | -->| aura = [[File:Icon-Aura.png|32px|center|link=Aura Collection]] [[Aura Collection]]<!-- | ||
-->| trail = [[File:Icon-Trail.png|32px|center|link=Trail Collection]] [[Trail Collection]]}}</center></format> | -->| trail = [[File:Icon-Trail.png|32px|center|link=Trail Collection]] [[Trail Collection]]}}</center>[[Category:{{ucfirst:{{{collection}}}}} Collection Cosmetics]]</format> | ||
</data> | </data> | ||
</group> | </group> |
Revision as of 17:53, 2 November 2024
Creates a cosmetic infobox
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Give the infobox a custom title (defaults to page name) | String | optional |
image | image | Image or GIF of the cosmetic | File | suggested |
type | type | The cosmetic type
| String | suggested |
rarity | rarity | The rarity of the cosmetic
| String | suggested |
rarity2 | rarity2 | The (special) rarity of the cosmetic
| String | optional |
chroma_applicable | chroma_applicable | Is cosmetic chroma applicable | Boolean | suggested |
added | added | Patch (& date) the cosmetic was added | String | suggested |
collection | collection | The collection the cosmetic is part of.
| String | suggested |
obtaining | obtaining | A short description of how this cosmetic is obtained | String | suggested |
trophies | trophies | The amount of trophies received for having this cosmetic | String | suggested |
bonus_trophies | bonus_trophies | The amount of bonus trophies received for having this cosmetic | String | optional |
reputation | reputation | The amount of reputation earned for scavenging this cosmetic | Number | suggested |
scavenge_cosmetic | scavenge_cosmetic | Is item scavengeable | Boolean | suggested |
scavenge_blueprint | scavenge_blueprint | Is blueprint scavengeable | Boolean | suggested |