Template:Damage icon: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) Added template documentation and demo templates |
HiddenDragon (talk | contribs) m HiddenDragon moved page Template:DamageIcon to Template:Damage icon |
(No difference)
|
Latest revision as of 11:04, 19 January 2025
Template documentation
Displays a small icon according to the damage type.
Examples
Example | Markup | Renders as |
---|---|---|
Default | Fiery {{DamageIcon|Fire}} fire! | Fiery | fire!
Healing | Helpful {{DamageIcon|Healing}} healing! | Helpful | healing!
Bigger icon | Fiery {{DamageIcon|Fire|40}} fire! | Fiery | fire!
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
type | 1 | no description | String | required |
size | 2 | Sets the icon size. | Number | optional |
link | link | Overrides the link. | String | optional |