Template:Hero ID

From Dota 2 Wiki
Jump to: navigation, search

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

Lua logo.svg
Play “Swapsies!”
This template uses Lua.
Its code can be found under Module:Hero ID.


Use this template for displaying hero icons in articles together with their names. Image size is optional, defaults at 20px.

Usage: {{Hero ID|<name>|<size>}}

Example: Ursa Ursa

TemplateData

Display a heroes icon and name.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hero1

The heroe's name.

Default
empty
Example
Ursa
Auto value
empty
Stringrequired
Size2

The icon size.

Default
20px
Example
empty
Auto value
empty
Stringoptional
Alternate Nametext

Replace the heroe's name with custom text.

Default
empty
Example
Wisp
Auto value
empty
Stringoptional
Promotional Content