Template:DamageIcon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
| Healing = {{icon|Healing Icon.png|{{{2|25}}}|link=}}
| Healing = {{icon | Healing Icon.png | {{{2|25}}} | link = }}
| Physical = {{icon|Slashing Damage Icon.png|{{{2|25}}}|link=Damage Types}}
| Physical = {{icon | Slashing Damage Icon.png | {{{2|25}}} | link = Damage Types }}
| #default = {{icon|{{{1}}} Damage Icon.png|{{{2|25}}}|link=Damage Types}}
| #default = {{icon | {{trim | {{{1}}} }} Damage Icon.png | {{{2|25}}} | link = Damage Types }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Usage: Fiery {{code|<nowiki>{{DamageIcon|Fire}}</nowiki>}} fire!
Usage: Fiery {{code|<nowiki>{{DamageIcon|Fire}}</nowiki>}} fire!

Revision as of 04:54, 30 July 2023

Usage: Fiery {{DamageIcon|Fire}} fire!

Result: Fiery Damage Types fire!


Also supports healing.

Usage: Helpful {{DamageIcon|Healing}} healing!

Result: Helpful healing!


You can make it bigger, too:

Usage: Fiery {{DamageIcon|Fire|40}} fire!

Result: Fiery Damage Types fire!