Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Template:Hero/doc

From Dota 2 Wiki
Jump to: navigation, search

Use this template for displaying hero portraits in articles.

Syntax: {{Hero|name|image size}}.


{{Hero|Ancient Apparition}}

Ancient Apparition icon.png

Default image size is 40px.


{{Hero|Ancient Apparition|100px}}

Ancient Apparition icon.png

Size can be for example defined in pixel width.

TemplateData[edit]

Display a hero's icon.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Hero1

The hero's name.

Default
Unknown Hero
Example
Axe
Auto value
empty
Stringrequired
Size2

The icon size.

Default
40px
Example
100px
Auto value
empty
Stringoptional