Template:DamageIcon: Difference between revisions
Jump to navigation
Jump to search
(temporary edit please ignore) Tag: Reverted |
Tag: Undo |
||
Line 4: | Line 4: | ||
| #default = {{icon | {{trim | {{{1}}} }} Damage Icon.png | {{{2|25}}} | link = {{{link|Damage Types}}} }} | | #default = {{icon | {{trim | {{{1}}} }} Damage Icon.png | {{{2|25}}} | link = {{{link|Damage Types}}} }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Usage: Fiery {{code|<nowiki>{{DamageIcon|Fire}}</nowiki>}} fire! | |||
Result: Fiery {{DamageIcon|Fire}} fire! | |||
---- | |||
Also supports healing. | |||
Usage: Helpful {{code|<nowiki>{{DamageIcon|Healing}}</nowiki>}} healing! | |||
Result: Helpful {{DamageIcon|Healing}} healing! | |||
---- | |||
You can make it bigger, too: | |||
Usage: Fiery {{code|<nowiki>{{DamageIcon|Fire|40}}</nowiki>}} fire! | |||
Result: Fiery {{DamageIcon|Fire|40}} fire! | |||
[[Category:Damage info templates]] [[Category:Icon Templates]] | [[Category:Damage info templates]] [[Category:Icon Templates]] | ||
Revision as of 22:23, 16 October 2023
Usage: Fiery {{DamageIcon|Fire}}
fire!
Also supports healing.
Usage: Helpful {{DamageIcon|Healing}}
healing!
Result: Helpful healing!
You can make it bigger, too:
Usage: Fiery {{DamageIcon|Fire|40}}
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 |