User:Llamageddon/RrtyItem

From bg3.wiki
Jump to navigation Jump to search


This is a proof of concept template for colouring icon borders depending on the value of a 'rarity' variable. 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/RrtyItem}} Only first parameter defined.

Mace Item Icon.png


{{User:Llamageddon/RrtyItem|Mace|x|x|Mace|A normal Mace.}} Unrecognised values in 2nd & 3rd.

Mace Item Icon.png A normal Mace. 


{{User:Llamageddon/RrtyItem|Mace|x|x|List_of_Weapons#Common|A common mace.}} Link text changed.

Mace Item Icon.png A common mace. 


{{User:Llamageddon/RrtyItem|Longsword|uncommon|tt|List_of_Weapons#Uncommon|Weapons|medium}} Using a tooltip (large "faded") image.

Longsword Icon.png Weapons 


{{User:Llamageddon/RrtyItem|Longbow|rare||Longbows}}

Longbow Item Icon.png Longbows 


{{User:Llamageddon/RrtyItem|Club|veryrare|tt|item}} Using tt and item keywords in 3rd & 4th parameters.

Club Icon.png Club 


{{User:Llamageddon/RrtyItem|Warhammer|legendary}}

Warhammer Item Icon.png


{{User:Llamageddon/RrtyItem|Stuffed Bear A|story|tooltip|||small}}

Stuffed Bear A Icon.png


{{User:Llamageddon/RrtyItem}} Missing page/icon links.

File:Missing Link Item Icon.png Missing Link 


List Layout

Stuffed Bear B Icon.png

Warhammer Item Icon.png

Club Item Icon.png

Mace Item Icon.png