Difference between revisions of "Template:Rarity"

m
m
Line 13: Line 13:
 
===Individual Pages===
 
===Individual Pages===
 
<nowiki>{{Rarity|Unique|1}}</nowiki><br />
 
<nowiki>{{Rarity|Unique|1}}</nowiki><br />
<nowiki>{{Rarity|{{{1}}}|1}}</nowiki>
+
<nowiki>{{Rarity|{{{1}}}|1}}</nowiki><br />
</noinclude>{{#if:{{{1|}}}|{{#switch:{{{1|}}}
+
</noinclude><includeonly>{{#if:{{{1|}}}|{{#switch:{{{1|}}}
 
|Unique={{#if:{{{2|}}}|This is a <span style="color: Red">'''Unique item'''</span>, found only once.|<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={{#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>}}
 
|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>}}
Line 21: Line 21:
 
|Purchase
 
|Purchase
 
|Common
 
|Common
|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>}}}}|{{#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={{#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>}}}}|{{#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>}}}}</includeonly>

Revision as of 15:00, 2 June 2017

Usage

Options

  • Unique
  • Uncommon
  • Limited
  • Crafted
  • Common/Purchase (default)

Tables

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

Individual Pages

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