Template:DamageIcon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Undo revision 91394 by Willowisp (talk))
Tag: Undo
m (Added Weapon)
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>

Revision as of 08:22, 20 December 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!

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
type1

no description

Stringrequired
size2

Sets the icon size.

Numberoptional
linklink

Overrides the link.

Stringoptional