User:Llamageddon/RrtyIcon
This template uses the {{ItemIcon}} template to give the icon for the item defined in the first parameter a coloured border, based on rarity. The icon size is set to the standard 25px
maximum height for inline use.
The rarity is defined by the second paramater: common, uncommon, rare, veryrare, legendary, or story. If left blank, it will default to dark grey (common) for the border.
Examples
{{User:Llamageddon/RrtyIcon|Potion of Healing|rare}}
{{User:Llamageddon/RrtyIcon|Mace|common}}
{{User:Llamageddon/RrtyIcon|Longsword|uncommon}}
{{User:Llamageddon/RrtyIcon|Club|rare}}
{{User:Llamageddon/RrtyIcon|Longbow|veryrare}}
{{User:Llamageddon/RrtyIcon|Warhammer|legendary}}
{{User:Llamageddon/RrtyIcon|Stuffed Bear A|story}}
{{User:Llamageddon/RrtyIcon|Ball}}
List Layout