Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:Rarity"

From DFO World Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#switch: {{lc:{{{1}}}}} |white|common=<span style="color:#ffffff;">'''{{{2|Common}}}'''</span> |blue|uncommon=<span style="color:#68d5ed;">'''{{{2|Uncommon}}}''...")
 
Line 7: Line 7:
 
|pink|unique=<span style="color:#ff00ff;">'''{{{2|Unique}}}'''</span>
 
|pink|unique=<span style="color:#ff00ff;">'''{{{2|Unique}}}'''</span>
 
|boss pink|boss unique=<span style="color:#ff00ff;">'''{{{2|Boss Unique}}}'''</span>
 
|boss pink|boss unique=<span style="color:#ff00ff;">'''{{{2|Boss Unique}}}'''</span>
 +
|relic=<span style="color:#ff00ff;">'''{{{2|Relic}}}'''</span>
 
|orange|legendary=<span style="color:#ff7800;">'''{{{2|Legendary}}}'''</span>
 
|orange|legendary=<span style="color:#ff7800;">'''{{{2|Legendary}}}'''</span>
 
|yellow|epic=<span style="color:#ffb400;">'''{{{2|Epic}}}'''</span>
 
|yellow|epic=<span style="color:#ffb400;">'''{{{2|Epic}}}'''</span>
Line 16: Line 17:
 
== Usage ==
 
== Usage ==
 
<pre>{{Rarity
 
<pre>{{Rarity
| <rarity>
+
|<rarity>
| <text>
+
|<text>
 
}}</pre>
 
}}</pre>
  
Line 36: Line 37:
 
{{Rarity|Epic}}
 
{{Rarity|Epic}}
  
</noinclude>
+
[[Category:Formatting Templates]]</noinclude>

Revision as of 21:38, 18 January 2016

Description

This templates boldens and colours a text based on given rarity.

Usage

{{Rarity
|<rarity>
|<text>
}}

Parameters

All parameters are optional unless stated otherwise.

rarity 
Rarity. Required.
text 
Displayed text. Defaults to the given rarity.

Examples

{{Rarity|blue|White Cube Fragment}}

White Cube Fragment

{{Rarity|Epic}}

Epic