Jump to content

Template:HeroIcon: Difference between revisions

From Deadlock Wiki
m custom name
Mixorio (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly><span style="position: relative; bottom: 2px;">[[File:{{{1|}}} MM.png|link={{{1|}}}|{{{size|25px}}}]]</span> [[{{{1|}}}|{{{2|{{{1|}}}}}}]]</includeonly><noinclude>{{Documentation}}
<includeonly><span style="position: relative; bottom: 2px;">[[File:{{{icon|{{{1|}}}}}} MM.png|link={{{1|}}}|{{{size|25px}}}]]</span> [[{{{1|}}}|{{{2|{{{1|}}}}}}]]</includeonly><noinclude>{{Documentation}}
[[Category:Icon templates]]</noinclude>
[[Category:Icon templates]]</noinclude>

Revision as of 19:29, 6 October 2024

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}}

Lash

{{HeroIcon|Lash|Jacob}}

Jacob

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

Абрамс

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