Template:HeroIcon: Difference between revisions
Appearance
mNo edit summary |
m subpage parameter |
||
Line 1: | Line 1: | ||
<includeonly><span style="position: relative; bottom: 2px;">[[File:{{{icon|{{{1|}}}}}} MM.png|alt=|link={{{3|{{{1|}}}}}}|{{{size|25px}}}]]</span> [[{{{3|{{{1|}}}}}}|{{{2|{{{1|}}}}}}]]</includeonly><noinclude>{{Documentation}} | <includeonly><span style="position: relative; bottom: 2px;">[[File:{{{icon|{{{1|}}}}}} MM.png|alt=|link={{{3|{{{1|}}}}}}{{{subpage|}}}|{{{size|25px}}}]]</span> [[{{{3|{{{1|}}}}}}{{{subpage|}}}|{{{2|{{{1|}}}}}}]]</includeonly><noinclude>{{Documentation}} | ||
[[Category:Icon templates]]</noinclude> | [[Category:Icon templates]]</noinclude> |
Latest revision as of 00:53, 22 January 2025
Usage[edit source]
This icon link template is used to add a small headshot of the hero with a link.
Examples[edit source]
{{HeroIcon|Lash}}
{{HeroIcon|Lash|Jacob}}
{{HeroIcon|Abrams|Абрамс|subpage=/ru}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
icon | icon 1 | Set the image file name. | String | required |
2 | 2 | Set the alternative text to display. | String | optional |
size | size | Set the size of the icon in px.
| Number | optional |