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
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1}}}}}
 
<includeonly>{{#switch: {{lc:{{{1}}}}}
|white|common=<span style="color:#ffffff;">'''{{{2|Common}}}'''</span>
+
|white|common=<span style="color:#000000;">{{{2|Common}}}</span>
|blue|uncommon=<span style="color:#68d5ed;">'''{{{2|Uncommon}}}'''</span>
+
|blue|uncommon=<span style="color:#00d1ff;">{{{2|Uncommon}}}</span>
|purple|rare=<span style="color:#b36bff;">'''{{{2|Rare}}}'''</span>
+
|purple|rare=<span style="color:#7d01ff;">{{{2|Rare}}}</span>
|legacy=<span style="color:#b36bff;">'''{{{2|Legacy}}}'''</span>
+
|legacy=<span style="color:#7d01ff;">{{{2|Legacy}}}</span>
|chron|chronicle=<span style="color:#ff6666;">'''{{{2|Chronicle}}}'''</span>
+
|chron|chronicle=<span style="color:#ff0000;">{{{2|Chronicle}}}</span>
|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>
+
|halidom=<span style="color:#ff00ff;">{{{2|Halidom}}}</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:#ffa200;">{{{2|Epic}}}</span>
|#default=<span style="color:#ffffff;">'''{{{2|Unknown}}}'''</span>}}</includeonly><noinclude>
+
|mythic=<span style="background:linear-gradient(#d59a60,#93538e);-webkit-background-clip:text;-webkit-text-fill-color:transparent;">{{{2|Mythic}}}</span>
 +
|primeval=<span style="background:linear-gradient(#5f8884,#7daca6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;">{{{2|Primeval}}}</span>
 +
|#default=<span style="color:#000000;">{{{2|Unknown}}}</span>}}</includeonly><noinclude>
 
== Description ==
 
== Description ==
  
This templates boldens and colours a text based on given rarity.
+
This templates colours a text based on given rarity.
  
 
== Usage ==
 
== Usage ==
Line 36: Line 38:
  
 
{{Rarity|Epic}}
 
{{Rarity|Epic}}
 +
 +
<pre>{{Rarity|Mythic}}</pre>
 +
 +
{{Rarity|Mythic}}
 +
 +
<pre>{{Rarity|Primeval}}</pre>
 +
 +
{{Rarity|Primeval}}
  
 
[[Category:Formatting Templates]]</noinclude>
 
[[Category:Formatting Templates]]</noinclude>

Latest revision as of 14:27, 3 December 2024

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

{{Rarity|Mythic}}

Mythic

{{Rarity|Primeval}}

Primeval