5,698
edits
Changes
→Syntax
*Single parameter for use on standard "parchment color" background: <pre>{{ItemRarity|rarity}}</pre>
*Two parameters for use in wikitables, [[:Template:ITEM_infobox|ITEM infoboxes]], or other light/dark backgrounds: <pre>{{ItemRarity|rarity|backgroundShade}}</pre>
===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.
*Second parameter (optional): Used to select a palette with better contrast against the background color. Possible parameters "Light" (or "L") or "Dark" (or "D"), captialized or not. Leave this parameter out for a palette designed for the default "parchment color" wiki background.
== Examples ==