Template:DamageIcon: Difference between revisions
Jump to navigation
Jump to search
m (Fix category name) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
| Healing = {{icon | Healing Icon.png | {{{2|25}}} | link = {{{link|}}}}} | | Healing = {{icon | Healing Icon.png | {{{2|25}}} | link = {{{link|}}}}} | ||
| Physical = {{icon | Slashing Damage Icon.png | {{{2|25}}} | link = {{{link|Damage Types}}} }} | | Physical = {{icon | Slashing Damage Icon.png | {{{2|25}}} | link = {{{link|Damage Types}}} }} | ||
| Weapon = {{icon | Slashing Damage Icon.png | {{{2|25}}} | link = {{{link|Damage Types}}} }} | |||
| #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> | ||
Line 20: | Line 21: | ||
Result: Fiery {{DamageIcon|Fire|40}} fire! | Result: Fiery {{DamageIcon|Fire|40}} fire! | ||
[[Category:Damage info templates]] [[Category:Icon | [[Category:Damage info templates]] [[Category:Icon templates]] | ||
== Template data == | == Template data == |
Latest revision as of 15:26, 23 June 2024
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 |