Template:DamageIcon: Difference between revisions
Jump to navigation
Jump to search
m (update to support healing icon, mostly for other templates that transclude this template) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#switch: {{{1}}} | ||
| Healing = {{icon|Healing Icon.png|{{{2|25}}}|link=}} | |||
| Physical = {{icon|Slashing Damage Icon.png|{{{2|25}}}|link=Damage Types}} | |||
| #default = {{icon|{{{1}}} Damage Icon.png|{{{2|25}}}|link=Damage Types}} | |||
}}</includeonly><noinclude> | |||
Usage: Fiery {{code|<nowiki>{{DamageIcon|Fire}}</nowiki>}} fire! | Usage: Fiery {{code|<nowiki>{{DamageIcon|Fire}}</nowiki>}} fire! | ||