Template:Ability ID

From Dota 2 Wiki
Jump to: navigation, search

Documentation for Template:Ability ID [ view | edit | purge ]

Lua logo.svg
▶️ Swapsies!
This template uses Lua.
Its code can be found under Module:Ability ID.

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

Usage

{{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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Ability1

The ability name.

Example
Meat Hook
Stringrequired
Source2

The abilitiy's source.

Example
Pudge
Stringrequired
Icon Size3

The icon size.

Default
16px
Stringoptional
Link Titletext

Set an alternative link title.

Example
Hook
Stringoptional