Template:Rarity: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) m increased template image size |
TheMysterys (talk | contribs) m Added template data |
||
Line 1: | Line 1: | ||
{{#switch: {{{1}}} | {{#switch: {{lc:{{{1}}}}} | ||
| common = [[File:Common.png|x18px|frameless|link=]] | | common = [[File:Common.png|x18px|frameless|link=]] | ||
| uncommon = [[File:Uncommon.png|x18px|frameless|link=]] | | uncommon = [[File:Uncommon.png|x18px|frameless|link=]] | ||
| rare = [[File:Rare.png|x18px|frameless|link=]] | | rare = [[File:Rare.png|x18px|frameless|link=]] | ||
| epic = [[File:Epic.png|x18px|frameless|link=]] | | epic = [[File:Epic.png|x18px|frameless|link=]] | ||
| legendary = [[File:Legendary.png|x18px|frameless|link=]] | | legendary = [[File:Legendary.png|x18px|frameless|link=]] | ||
| mythic = [[File:Mythic.png|x18px|frameless|link=]] | | mythic = [[File:Mythic.png|x18px|frameless|link=]] | ||
}} | }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Rarity", | |||
"description": "Rarity of item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Common", | |||
"Uncommon", | |||
"Rare", | |||
"Epic", | |||
"Legendary", | |||
"Mythic" | |||
], | |||
"required": true, | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Displays a rarity icon." | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 19:17, 22 August 2023
Displays a rarity icon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Rarity | 1 | Rarity of item
| String | required |