Template:HeroIcon/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
cleanup, add templatedata |
m example for subpage parameter |
||
| Line 12: | Line 12: | ||
</pre> | </pre> | ||
{{HeroIcon|Lash|Jacob}} | {{HeroIcon|Lash|Jacob}} | ||
<pre style="width:50%"> | |||
{{HeroIcon|Abrams|Абрамс|subpage=/ru}} | |||
</pre> | |||
{{HeroIcon|Abrams|Абрамс|subpage=/ru}} | |||
<templatedata> | <templatedata> | ||
Revision as of 00:56, 22 January 2025
Usage
This icon link template is used to add a small headshot of the hero with a link.
Examples
{{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 |