The Rarity template is used to allow easy coloring of item names in the respective rarity color. i.e: Amulet of Rejuvenation.
Usage[]
The first parameter has to be the rarity. Additionally there can be a second parameter for the name of the item. If the second parameter is not given, the template returns the rarity itself in color instead of the item name.
{{Rarity|rarity}}
{{Rarity|rarity|ItemName}}
Possible rarities are: depressing
, normal
, unique
, rare
, legendary
, fabled
, mythic
and set
. Alternatively you can use only the first letter of the rarity.
For situations where readability is impacted, certain rarities also accept alternate arguments for darker text colour: ud/unique dark
, ld/legendary dark
, and sd/set dark
. These arguments otherwise produce identical results to the defaults.
Examples[]
Example | Result |
---|---|
{{Rarity|mythic}} |
Mythic |
{{Rarity|legendary|Cluster}} |
Cluster |
{{Rarity|u|Finesse}} |
Finesse |
{{Rarity|ud|Finesse}} |
Finesse |
{{Rarity|sd|Morph Stardust}} |
Morph Stardust |
{{Rarity|legendary dark}} |
Legendary |