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

Template:Rarity: Difference between revisions

Template page
m increased template image size
m Added template data
Line 1: Line 1:
{{#switch: {{{1}}}
{{#switch: {{lc:{{{1}}}}}
| Common
  | common = [[File:Common.png|x18px|frameless|link=]]
  | common = [[File:Common.png|x18px|frameless|link=]]
| Uncommon
  | uncommon = [[File:Uncommon.png|x18px|frameless|link=]]
  | uncommon = [[File:Uncommon.png|x18px|frameless|link=]]
| Rare
  | rare = [[File:Rare.png|x18px|frameless|link=]]
  | rare = [[File:Rare.png|x18px|frameless|link=]]
| Epic
  | epic = [[File:Epic.png|x18px|frameless|link=]]
  | epic = [[File:Epic.png|x18px|frameless|link=]]
| Legendary
  | legendary = [[File:Legendary.png|x18px|frameless|link=]]
  | legendary = [[File:Legendary.png|x18px|frameless|link=]]
| Mythic
  | 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Rarity1

Rarity of item

Suggested values
Common Uncommon Rare Epic Legendary Mythic
Stringrequired