Template:Ability ID/doc

来自Dota 2 Wiki
跳转至: 导航搜索
Lua logo.svg
▶️ Swapsies!
This template uses Lua.
Its code can be found under 模块:Ability ID.

Use this template for displaying hero abilities in articles together with their names. Size is default at 16px.

用法[编辑]

{{Ability ID|Ability|Source|Size}}

The first and second parameter are mandatory. The third parameter (size) is optional.

Examples[编辑]

TemplateData[编辑]

Display an ability icon and link to the ability.

模板参数

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

参数说明类型状态
Ability1

The ability name.

例子
Meat Hook
字符串必填
Source2

The abilitiy's source.

例子
Pudge
字符串必填
Icon Size3

The icon size.

默认值
16px
字符串可选
Link Titletext

Set an alternative link title.

例子
Hook
字符串可选