Toggle menu
517
2.5K
889
23.2K
Deadlock Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:HeroIcon

Template page
Revision as of 06:55, 17 September 2024 by Sylphoid (talk | contribs) (move docs)

[[File:{{{hero}}} MM.png|link={{{hero}}}|24px]]

Template documentation [view] [edit] [history] [purge]

Usage

This icon link template is used to add a small headshot of the hero with a link.

Examples

{{HeroIcon|Lash}}

[[File:{{{hero}}} MM.png|link={{{hero}}}|24px]]

{{HeroIcon|Lash|Jacob}}

[[File:{{{hero}}} MM.png|link={{{hero}}}|24px]]

{{HeroIcon|Abrams|Абрамс|subpage=/ru}}

[[File:{{{hero}}} MM.png|link={{{hero}}}|24px]]

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11 icon

Set the image file name.

Stringrequired
22

Set the alternative text to display.

Stringoptional
sizesize

Set the size of the icon in px.

Default
25
Example
20, 24, 32
Numberoptional