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"
(adjust colors) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc:{{{1}}}}} | <includeonly>{{#switch: {{lc:{{{1}}}}} | ||
− | |white|common=<span style="color:#000000;"> | + | |white|common=<span style="color:#000000;">{{{2|Common}}}</span> |
− | |blue|uncommon=<span style="color:# | + | |blue|uncommon=<span style="color:#00d1ff;">{{{2|Uncommon}}}</span> |
− | |purple|rare=<span style="color:# | + | |purple|rare=<span style="color:#7d01ff;">{{{2|Rare}}}</span> |
− | |legacy=<span style="color:# | + | |legacy=<span style="color:#7d01ff;">{{{2|Legacy}}}</span> |
− | |chron|chronicle=<span style="color:# | + | |chron|chronicle=<span style="color:#ff0000;">{{{2|Chronicle}}}</span> |
− | |pink|unique=<span style="color:#ff00ff;"> | + | |pink|unique=<span style="color:#ff00ff;">{{{2|Unique}}}</span> |
− | |boss pink|boss unique=<span style="color:#ff00ff;"> | + | |boss pink|boss unique=<span style="color:#ff00ff;">{{{2|Boss Unique}}}</span> |
− | |halidom=<span style="color:#ff00ff;"> | + | |halidom=<span style="color:#ff00ff;">{{{2|Halidom}}}</span> |
− | |orange|legendary=<span style="color:#ff7800;"> | + | |orange|legendary=<span style="color:#ff7800;">{{{2|Legendary}}}</span> |
− | |yellow|epic=<span style="color:# | + | |yellow|epic=<span style="color:#ffa200;">{{{2|Epic}}}</span> |
− | |#default=<span style="color:#000000;"> | + | |#default=<span style="color:#000000;">{{{2|Unknown}}}</span>}}</includeonly><noinclude> |
== Description == | == Description == | ||
− | This templates | + | This templates colours a text based on given rarity. |
== Usage == | == Usage == |
Revision as of 15:06, 30 April 2016
Contents
Description
This templates 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