Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Template:Hero ID/doc

From Dota 2 Wiki
Jump to: navigation, search

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[edit]

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