Template:Rarity/text/zh-cn
跳转到导航
跳转到搜索
模板文件
|
---|
注意:如果没有提供数值,可能无法看到模板样本的部分内容。 |
查看或编辑本文档。 (关于模版文件) |
编辑者可在该模板的沙盒和测试用页面进行实验。
|
此模板已有关联或子模板: Template:Rarity/text |
用途
Generates formatted rarity text.
构造
{{rarity/text|rarity}}
参数
Accepted Values | Result | In Game |
---|---|---|
0 or unspecified | 未指定的 | |
1 or abundant | 丰富的 | |
2 or common | 普通的 | |
3 or uncommon | 罕见的 | |
4 or rare | 稀有的 | |
5 or epic | 史诗的 | |
6 or legendary | 传说的 |
示例
Numeric value
This item is {{rarity/text|3}}!
This item is 罕见的!
String value
This item is {{rarity/text|abundant}}!
This item is 丰富的!
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!