Usage[]
{{Cosmetic}}
creates an cosmetic item element suitable for use in a cosmetic item navbox. The border is color coded by rarity.
{{Cosmetic|超萌巨蜥}}
The template accepts one additional parameter as second, which controls the width of the element. The width defaults to 100px.
{{Cosmetic|和平使者之服套装|160px}}
If this template is used in SMW queries, the width can also be set with userparam
.
{{Cosmetic|和平使者之服套装|userparam=130px}}
How this looks if used incorrectly:
TemplateData[]
Displays a cosmetic item's icon and rarity.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Cosmetic | 1 | The cosmetic item's name.
| 字符串 | 必需 |
Icon Size | 2 userparam | 无描述
| 字符串 | 可选 |
Link | link | Modify the link destination
| 字符串 | 可选 |
Link Text | text | Modify the link text.
| 字符串 | 可选 |
See also[]
- Template:Inscribed Gem
- Template:Kinetic Gem
- Template:Prismatic Gem
- Template:Cosmetic ID - An inline version of this template.