Gamepedia was upgraded to MediaWiki version 1.31 on Wednesday November 14th. To learn more about the upgrade and its effects click here.

Template:Hero ID

From Dota 2 Wiki
Jump to: navigation, search

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

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 minimap icon.png Ursa

TemplateData

Display a hero's icon and name.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Hero1

The hero'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 hero's name with custom text.

Default
empty
Example
Wisp
Auto value
empty
Stringoptional