Template:Damage display
Jump to navigation
Jump to search
Damage: 4~14 + modifiers
Damage: 7~17
Damage: 12~45
![]() | This page is in the process of being constructed or reformatted. You are welcome to contribute as well. Last edited on 2025-01-28. If multiple days have passed since, this template should be removed. |
Display damage in a format designed to replicate the in-game display.
Usage
This template is intended for use with Cargo queries and most of the fields will be filled by corresponding fields in the spells
table.
Additionally, this template accepts str
, dex
, con
, wis
, int
, cha
, casting stat
, and weapon
parameters to provide additional context. If possible, the template will replace generic placeholder information like "Strength modifier" or "Normal weapon damage" with specific values from these optional parameters.
Examples
No ability scores specified
Markup{{Damage display | damage = 1d6 + 2 | damage type = Piercing | damage modifier = finesse | extra damage = 1d6 | extra damage type = Fire }}Renders as
Damage: 4~14 + modifiers


1d6 + 2 + Strength or Dexterity modifier
Piercing

+ 1d6
Fire

Relevant ability scores specified so that the modifier can be evaluated
Markup{{Damage display | damage = 1d6 + 2 | damage type = Piercing | damage modifier = finesse | extra damage = 1d6 | extra damage type = Fire | str = 9 | dex = 17 }}Renders as
Damage: 7~17
Showing off the damage dice display
Markup{{Damage display | damage = 1d12 + 3 | damage type = Slashing | damage modifier = melee | extra damage = 1d6 | extra damage type = Fire | extra damage 2 = 2d8 | extra damage type 2 = Radiant | extra damage 3 = 1d4 | extra damage type 3 = Psychic | str = 19 | dex = 12 | dice width = 45 }}Renders as
Damage: 12~45