We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.

Template:Item label

来自Dota 2 Wiki
跳转至: 导航搜索

Template:Item label的文档 [ 查看 | 编辑 | 净化 ]

Examples[编辑]

{{item label|代达罗斯之殇}}
Daedalus icon.png
{{item label|代达罗斯之殇|border=chartreuse}}
Daedalus icon.png
{{item label|代达罗斯之殇|border=red|120px}}
Daedalus icon.png

Usage[编辑]

  • Borderless label used for Versions and Patches changelogs.
  • Bordered labels used for hero counters subpages.
    • Use border=chartreuse for Good against..., border=red for Bad against...
  • Icon default size is 50px.

TemplateData[编辑]

Displays an item label.

模板参数

此模板首选参数行内格式。

参数说明类型状态
Item1

The item's name.

例子
Tango
字符串必填
Icon Size2

The icon size.

例子
50px
字符串可选
Border Colorborder

The border color. Leave empty if no border is wanted.

例子
red
字符串推荐