Template:DamageModifier

From bg3.wiki
Revision as of 23:17, 1 February 2023 by Taylan (talk | contribs)
Jump to navigation Jump to search

Usage: {{DamageModifier|melee}}

Result: + Strength Modifier

Usage: {{DamageModifier|ranged}}

Result: + Dexterity Modifier

Usage: {{DamageModifier|finesse}}

Result: + Strength or Dexterity Modifier

Anything that's not one of the specially recognized keywords will be used verbatim:

Usage: {{DamageModifier|[[Wisdom Modifier]]}}

Result: + Wisdom Modifier

If the parameter is completely empty however, then nothing will be printed:

Usage: {{DamageModifier|}}

Result:

(That makes it easier to use in other templates, where a modifier might be optional.)