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 this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
This template has existing translations, relatives, or sub-templates: Template:Rarity/fr • Template:Rarity/text • Template:Rarity/text/de • Template:Rarity/text/doc • Template:Rarity/text/doc/de • Template:Rarity/text/doc/en • Template:Rarity/text/doc/es • Template:Rarity/text/doc/fr • Template:Rarity/text/doc/nl • Template:Rarity/text/doc/ru • Template:Rarity/text/en • Template:Rarity/text/es • Template:Rarity/text/fi • Template:Rarity/text/fr • Template:Rarity/text/it • Template:Rarity/text/it/doc • Template:Rarity/text/nl • Template:Rarity/text/pt-br • Template:Rarity/text/ru • Template:Rarity/text/ru/doc • Template:Rarity/text/styles.css • Template:Rarity/text/zh-cn
|
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!