Template:Damage text

From bg3.wiki
Jump to navigation Jump to search
Template documentation

This template inserts formatted damage text.

Basic usage

Markup Renders as
Blah blah deals {{DamageText|2d6|Fire}} damage.
Blah blah deals 2d6Damage TypesFire damage.
Blah blah deals {{DamageText|2d6|Physical}} damage.
Blah blah deals 2d6Damage TypesPhysical damage.
Blah blah heals {{DamageText|2d4+2|Healing}}.
Blah blah heals 2d4+2hit points.

Damage rider as source

See Template:DRS for an explanation on why anyone would want to do this.

Markup Renders as
Blah blah deals {{DamageText|2d6|Physical|drs=t}} damage.
Blah blah deals 2d6Damage TypesPhysicalDRS damage.