Template:Rarity/text
Jump to navigation
Jump to search
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit the template documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages.
|
Usage
Generates formatted rarity text.
Syntax
{{rarity/text|rarity}}
Parameters
Accepted Values | Result | In Game |
---|---|---|
0 or unspecified | Unspecified | |
1 or abundant | Abundant | |
2 or common | Common | |
3 or uncommon | Uncommon | |
4 or rare | Rare | |
5 or epic | Epic | |
6 or legendary | Legendary |
Examples
Numeric value
This item is {{rarity/text|3}}!
This item is Uncommon!
String value
This item is {{rarity/text|abundant}}!
This item is Abundant!
Override Text
Overrides the text of the rarity, while keeping the color!
I'm feeling {{rarity/text|epic|Amazing}} today!
I'm feeling Amazing today!