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
(adjust colors)
m
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
 
|orange|legendary=<span style="color:#ff7800;">{{{2|Legendary}}}</span>
 
|orange|legendary=<span style="color:#ff7800;">{{{2|Legendary}}}</span>
 
|yellow|epic=<span style="color:#ffa200;">{{{2|Epic}}}</span>
 
|yellow|epic=<span style="color:#ffa200;">{{{2|Epic}}}</span>
 +
|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>
 
|#default=<span style="color:#000000;">{{{2|Unknown}}}</span>}}</includeonly><noinclude>
 
== Description ==
 
== Description ==
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