User:Llamageddon/RrtyItem
This is a proof of concept template for colouring icon borders depending on the value of a 'rarity' variable.
Examples
{{User:Llamageddon/RrtyItem}}
Only first parameter defined.
{{User:Llamageddon/RrtyItem|Mace|x|x|Mace|A normal Mace.}}
Unrecognised values in 2nd & 3rd.
{{User:Llamageddon/RrtyItem|Mace|x|x|List_of_Weapons#Common|A common mace.}}
Link text changed.
{{User:Llamageddon/RrtyItem|Longsword|uncommon|tooltip|Weapons}}
Using a tooltip (large "faded") image.
{{User:Llamageddon/RrtyItem|Longbow|rare||Longbows}}
{{User:Llamageddon/RrtyItem|Club|veryrare|link}}
Using item
keyword in 4th parameter.
{{User:Llamageddon/RrtyItem|Warhammer|legendary}}
{{User:Llamageddon/RrtyItem|Stuffed Bear A|story|tooltip}}
{{User:Llamageddon/RrtyItem}}
Missing page/icon links.
List Layout