<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3APG%2FItemRarity%2Fdoc</id>
	<title>Template:PG/ItemRarity/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3APG%2FItemRarity%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:PG/ItemRarity/doc&amp;action=history"/>
	<updated>2026-04-10T11:25:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:PG/ItemRarity/doc&amp;diff=125&amp;oldid=prev</id>
		<title>imported&gt;Alleryn: /* Examples */</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:PG/ItemRarity/doc&amp;diff=125&amp;oldid=prev"/>
		<updated>2020-12-05T14:01:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Categories/interwikis for the template itself --&amp;gt;&lt;br /&gt;
[[Category:Formatting templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Categories/interwikis for this documentation itself --&amp;gt;&lt;br /&gt;
[[Category:Template documentation|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Outputs a link, formatted into the color of the given rarity, to the page section that describes the rarity tiers of items ([[Items#Item Tiers]]).&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
*Single parameter for use on standard &amp;quot;parchment color&amp;quot; background: &amp;lt;pre&amp;gt;{{ItemRarity|rarity}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Two parameters for use in wikitables, [[:Template:ITEM_infobox|ITEM infoboxes]], or other light/dark backgrounds: &amp;lt;pre&amp;gt;{{ItemRarity|rarity|backgroundShade}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
*First parameter (required): The rarity you wish to express. This can be any of:&lt;br /&gt;
** The full word description of the rarity: Uncommon, Rare, Exceptional, Epic, Legendary (capitalized or not)&lt;br /&gt;
** The number of mods on an item of that rarity: 1, 2, 3, 4, 5&lt;br /&gt;
** A one letter abbreviation for that rarity: u, r, x, p, l (capitalized or not)&lt;br /&gt;
** Any other values default to &amp;quot;Common&amp;quot; in the color white.&lt;br /&gt;
*Second parameter (optional): Used to select a palette with better contrast against the background color. Possible parameters &amp;quot;Light&amp;quot; (or &amp;quot;L&amp;quot;) or &amp;quot;Dark&amp;quot; (or &amp;quot;D&amp;quot;), captialized or not. Leave this parameter out for a palette designed for the default &amp;quot;parchment color&amp;quot; wiki background.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Example 1: Directly on the page ===&lt;br /&gt;
====Example Code 1====&lt;br /&gt;
&amp;lt;pre&amp;gt;{{ItemRarity|Legendary}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Example Output 1====&lt;br /&gt;
{{ItemRarity|Legendary}}&lt;br /&gt;
===Example 2: Wikitable===&lt;br /&gt;
====Example Code 2====&lt;br /&gt;
&amp;lt;pre&amp;gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Header&lt;br /&gt;
|-&lt;br /&gt;
| {{ItemRarity|2|Light}}&lt;br /&gt;
|}&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Example Output 2====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Header&lt;br /&gt;
|-&lt;br /&gt;
| {{ItemRarity|2|Light}}&lt;br /&gt;
|}&lt;br /&gt;
===Example 3: Dark background===&lt;br /&gt;
====Example Code 3====&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;span style=&amp;quot;background-color:#000000&amp;gt;{{ItemRarity|x}}&amp;lt;/span&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Example Output 3====&lt;br /&gt;
&amp;lt;span style=&amp;quot;background-color:#000000&amp;gt;{{ItemRarity|x}}&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Alleryn</name></author>
	</entry>
</feed>