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
(added mythic)
m
 
Line 11: Line 11:
 
|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>
 
|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 40: Line 41:
 
<pre>{{Rarity|Mythic}}</pre>
 
<pre>{{Rarity|Mythic}}</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