Template:Hero

From Dota 2 Wiki
Jump to: navigation, search

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

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 prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Hero1

The hero's name.

Default
Unknown Hero
Example
Axe
Stringrequired
Size2

The icon size.

Default
40px
Example
100px
Stringoptional