Template:HeroIcon/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
Data source changed |
||
| Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
This template creates a small hero icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from [[Data: | This template creates a small hero icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from [[Data:ResourceLookup.json]]. | ||
== Examples == | == Examples == | ||
Revision as of 16:36, 11 March 2026
Usage
This template creates a small hero icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from Data:ResourceLookup.json.
Examples
{{HeroIcon|Trapper}}
{{HeroIcon|Dynamo|l1=Professor Dynamo}}
{{HeroIcon|Warden|size=40px}}
Trapper Professor Dynamo Warden
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Hero name. | String | required |
| l1 | l1 | Custom text. | String | optional |
| size | size | Icon size.
| String | optional |
| no-link | no-link | Removes the link.
| Boolean | optional |
| icon-only | icon-only | Hides any text.
| Boolean | optional |