Template:AbilityIcon/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m upd |
No edit summary |
||
| Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
This template creates a small ability icon. The label and link will be automatically translated on a language subpage. | This template creates a small ability icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from [[Data:AbilityData.json]]. | ||
== Examples == | == Examples == | ||
Revision as of 16:17, 9 February 2026
Usage
This template creates a small ability icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from Data:AbilityData.json.
Examples
{{AbilityIcon|Time Wall}}
{{AbilityIcon|Death Slam|l1=Slam}}
{{AbilityIcon|Willpower|size=40px}}
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Ability 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 |