Difference between revisions of "Template:Rarity"

m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[Category:Templates]]
 
<noinclude>[[Category:Templates]]
 
==Usage==
 
==Usage==
 +
===Options===
 +
* <span style="color: Red">Unique
 +
* <span style="color: Violet">Uncommon</span>
 +
* <span style="color: rgb(220,0,0)">Limited</span>
 +
* <span style="color: DeepSkyBlue">Crafted</span>
 +
* <span style="color: Lime">Common/Purchase (default)</span>
 +
 
===Tables===
 
===Tables===
 
<nowiki>{{Rarity|Unique}}</nowiki><br />
 
<nowiki>{{Rarity|Unique}}</nowiki><br />
Line 6: 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>{{#switch:{{{1|}}}
+
</noinclude><includeonly>{{#if:{{{1|}}}|{{#switch:{{{1}}}
 +
|unique
 +
|Uni
 +
|uni
 
|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
 +
|Unc
 +
|unc
 
|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>}}
 +
|limited
 +
|Lim
 +
|lim
 
|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>}}
 
|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>}}
 +
|crafted
 +
|craft
 +
|Craft
 +
|Crafted={{#if:{{{2|}}}|This is a <span style="color: DeepSkyBlue">'''Crafted item'''</span>, obtainable as a rare drop or by the player interacting with certain NPCs.|<span style="color: DeepSkyBlue">Crafted</span>}}
 
|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>}}
+
|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>
}}
 

Latest revision as of 15:09, 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}}