Template:ItemRarity/doc

From Project: Gorgon Wiki
< Template:ItemRarity
Revision as of 18:44, 27 November 2020 by Alleryn (talk | contribs) (Created page with "<includeonly> <!-- Categories/interwikis for the template itself --> Category:Formatting templates </includeonly><noinclude> <!-- Categories/interwikis for this documentat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Description<

Outputs a link to the page section that describes the rarity tiers of items, formatted into the color of a given rarity.

Syntax

{{ItemRarity|rarity}}

Parameters

  • First and only parameter (required): The rarity you wish to express. This can be any of:
    • The full word description of the rarity: Uncommon, Rare, Exceptional, Epic, Legendary (capitalized or not)
    • The number of mods on an item of that rarity: 1, 2, 3, 4, 5
    • A one letter abbreviation for that rarity: u, r, x, p, l (capitalized or not)
    • Any other values default to "Common" in the color white.

Examples

Code Result
{{ItemRarity|epic}}
Epic
{{ItemRarity|2}}
Rare
{{ItemRarity|x}}
Exceptional