Template:HeroIcon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
move docs |
||
Line 1: | Line 1: | ||
< | <onlyinclude><span style="position: relative; bottom: 2px;">[[File:{{{Hero|{{{hero}}}}}} MM.png|link={{{Hero|{{{hero}}}}}}|{{{size|24px}}}]]</span></onlyinclude><noinclude>{{Documentation}}</noinclude> | ||
</noinclude> |
Revision as of 06:55, 17 September 2024
[[File:{{{hero}}} MM.png|link={{{hero}}}|24px]]
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.
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 |