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) |
Queerchemist (talk | contribs) (added mythic) |
||
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> | ||
|#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 37: | ||
{{Rarity|Epic}} | {{Rarity|Epic}} | ||
+ | |||
+ | <pre>{{Rarity|Mythic}}</pre> | ||
+ | |||
+ | {{Rarity|Mythic}}</pre> | ||
[[Category:Formatting Templates]]</noinclude> | [[Category:Formatting Templates]]</noinclude> |
Revision as of 00:10, 22 April 2020
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
{{Rarity|Mythic}}
Mythic