Template:Rarity
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, this template also accepts alternate arguments to use variable colours based on the current theme: uv/unique v
, rv/rare v
, lv/legendary v
, etc. These arguments otherwise produce identical results to the defaults.
Examples
Example | Result |
---|---|
{{Rarity|mythic}} |
Mythic |
{{Rarity|legendary|Cluster}} |
Cluster |
{{Rarity|u|Finesse}} |
Finesse |
{{Rarity|uv|Finesse}} |
Finesse |
{{Rarity|sv|Morph Stardust}} |
Morph Stardust |
{{Rarity|legendary v}} |
Legendary |
The above documentation is transcluded from Template:Rarity/doc. (edit | history)