Template:HeroIcon

From Deadlock Wiki
Revision as of 06:55, 17 September 2024 by Sylphoid (talk | contribs) (move docs)
Jump to navigation Jump to search

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

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
iconicon 1

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