Difference between revisions of "Template:Rarity"

(Created page with "<noinclude>Category:Templates ==Usage== <nowiki>{{Rarity|Unique}}</nowiki><br /> <nowiki>{{Rarity|{{{1}}}}}</nowiki> </noinclude>{{#switch:{{{1|}}} |Unique=<span style="co...")
 
m
Line 1: Line 1:
 
<noinclude>[[Category:Templates]]
 
<noinclude>[[Category:Templates]]
 
==Usage==
 
==Usage==
 +
===Tables===
 
<nowiki>{{Rarity|Unique}}</nowiki><br />
 
<nowiki>{{Rarity|Unique}}</nowiki><br />
 
<nowiki>{{Rarity|{{{1}}}}}</nowiki>
 
<nowiki>{{Rarity|{{{1}}}}}</nowiki>
 +
===Individual Pages===
 +
<nowiki>{{Rarity|Unique|1}}</nowiki><br />
 +
<nowiki>{{Rarity|{{{1}}}|1}}</nowiki>
 
</noinclude>{{#switch:{{{1|}}}
 
</noinclude>{{#switch:{{{1|}}}
|Unique=<span style="color: Red">Unique</span>
+
|Unique={{#if:{{{2|}}}|This is a <span style="color: Red">'''Unique item'''</span>, found only once.|<span style="color: Red">Unique</span>}}
|Uncommon=<span style="color: Violet">Uncommon</span>
+
|Uncommon={{#if:{{{2|}}}|This is an <span style="color: Violet">'''Uncommon item'''</span>, a rare drop or obtainable from faction specific merchants.|<span style="color: Violet">Uncommon</span>}}
 +
|Limited={{#if:{{{2|}}}|This is a <span style="color: rgb(220,0,0)">'''Limited item'''</span> that can only be obtained a set amount of times.|<span style="color: rgb(220,0,0)">Limited</span>}}
 
|Purchase
 
|Purchase
|Common=<span style="color: Lime">Common</span>
+
|Common
|Limited=<span style="color: rgb(220,0,0)">Limited</span>
+
|default={{#if:{{{2|}}}|This is a <span style="color: Lime">'''Common item'''</span>, a frequent drop or obtainable from merchants.|<span style="color: Lime">Common</span>}}
|default=<span style="color: Lime">Common</span>
 
 
}}
 
}}

Revision as of 14:47, 2 June 2017

Usage

Tables

{{Rarity|Unique}}
{{Rarity|{{{1}}}}}

Individual Pages

{{Rarity|Unique|1}}
{{Rarity|{{{1}}}|1}}