Template:Action table

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

Query and display spells and other actions from the action Cargo table into a nicely formatted table suitable for inclusion on wiki pages.

See also

Usage

The actions displayed in the table are determined by the where clause which follows normal SQL syntax. Refer to the Mediawiki documentation for more details.

The displayed columns can be optionally defined by the column parameter which is a comma separated list of column names. The following columns are available:

  • name - The name and icon of the action
  • type - The classification (e.g. level 2 spell, weapon action) of the action
  • level - Like type, except in a more compact form that assumes the actions are spells with levels
  • cost - The resource cost in expressed in compact icons
  • recharge - The recharge or cooldown time of the action
  • cost-recharge - The cost and/or recharge time of the action in a merged column
  • range - The range of the action
  • aoe - The area of effect of the action
  • range-aoe - The range and/or area of effect of the action in a merged column
  • roll - The attack roll and/or saving throw of the action
  • damage - The damage dealt by the action
  • conditions - The conditions applied or inflicted by the action
  • summons - The creatures summoned by the action
  • effects - A merged column that combines damage, conditions, and summons. Best for general purpose tables that hold a wide variety of actions.

By default, the displayed columns are name, type, cost-recharge, range-aoe, roll, and effects.

A title can be optionally set with the title parameter.

The maximum number of rows defaults to 50, but this can be increased with limit parameter. Be wary of template inclusion limits with giant tables.

Examples

Markup
{{Action table
| title = Fire damage actions
| where = (is_npc = false or is_npc IS NULL) AND (
     damage_1_type = "fire" 
  OR damage_2_type = "fire" 
  OR damage_3_type = "fire" 
  OR damage_4_type = "fire"
)
}}
Renders as
Fire damage actions
NameTypeCost/RechargeRange/AreaRollEffect

Blazing RetaliationBlazing Retaliation

Action

Bonus Action
Range Icon.png Self
1d6Fire⁠Fire (When a melee attacker misses)
Applies Blazing Retaliation Blazing Retaliation

Burning HandsBurning Hands

Level 1 spell

Action + Level 1 Spell Slot

Range Icon.png Self
Aoe Icon.png 5 m (17 ft) (Cone)
3d6Fire⁠Fire

Chromatic Orb: FireChromatic Orb: Fire

Level 1 spell

Action + Level 1 Spell Slot

Range Icon.png 18 m (60 ft)
2d8Fire⁠Fire

Cinderous SwipeCinderous Swipe

Action

Action

Aoe Icon.png 5 m (17 ft) (Cone)
Normal weapon damage
+ 2d6Fire⁠Fire

Divine Strike: Fire (Melee)Divine Strike: Fire (Melee)

Weapon action

Action
Recharge Icons.pngPer turn
Range Icon.png 1.5 m (5 ft)
Melee Weapon Attack Roll Melee Weapon Attack Roll
Normal weapon damage
+ 1d8Fire⁠Fire

Divine Strike: Fire (Ranged)Divine Strike: Fire (Ranged)

Weapon action

Action
Recharge Icons.pngPer turn
Range Icon.png 18 m (60 ft)
Ranged Weapon Attack Roll Ranged Weapon Attack Roll
Normal weapon damage
+ 1d8Fire⁠Fire

Elemental Cleaver (fire)Elemental Cleaver (fire)

Action

-
Range Icon.png Self
-
1d6Fire⁠Fire
Applies Elemental Cleaver: Fire Elemental Cleaver: Fire

Embrace of the InfernoEmbrace of the Inferno

Action

Action + 3 Ki Point

Range Icon.png 18 m (60 ft)
Ranged Spell Attack Roll Ranged Spell Attack Roll
2d6Fire⁠Fire
+ 2d6Fire⁠Fire
+ 2d6Fire⁠Fire

Erupting CinderErupting Cinder

Action

Action

Range Icon.png 18 m (60 ft)
Aoe Icon.png 3 m (10 ft) (Radius)
4d6Fire⁠Fire

Fangs of the Fire SnakeFangs of the Fire Snake

Action

Action + Ki Point

Range Icon.png 6 m (20 ft)
Melee Unarmed Attack Roll Melee Unarmed Attack Roll
UnarmedBludgeoning⁠Bludgeoning
+ 1d10Fire⁠Fire
Applies Fangs of the Fire Snake Fangs of the Fire Snake

Fiendish FlameblastFiendish Flameblast

Action

Bonus Action

Aoe Icon.png 2 m (7 ft) (Radius)
-
4d8Force⁠Force
+ 4d8Fire⁠Fire
Applies Burning (Orthonic) Burning (Orthonic)

Fire BoltFire Bolt

Cantrip

Action

Range Icon.png 18 m (60 ft)
1d10Fire⁠Fire

Fire Breath (Cone)Fire Breath (Cone)

Action

Action
Range Icon.png Self
Aoe Icon.png 5 m (17 ft) (Cone)
2d6Fire⁠Fire

Fire Breath (Line)Fire Breath (Line)

Action

Action
Range Icon.png Self
Aoe Icon.png 5 m (17 ft) (Line)
2d6Fire⁠Fire

Fire Shield: WarmFire Shield: Warm

Level 4 spell

Action + Level 4 Spell Slot

Range Icon.png 1.5 m (5 ft)
-
2d8Fire⁠Fire (Against melee attackers)
Applies Fire Shield: Warm Fire Shield: Warm

FireballFireball

Level 3 spell

Action + Level 3 Spell Slot

Range Icon.png 18 m (60 ft)
Aoe Icon.png 4 m (13 ft) (Radius)
8d6Fire⁠Fire

Firebolt?Firebolt?

Cantrip

Action

Range Icon.png 18 m (60 ft)
Ranged Spell Attack Roll Ranged Spell Attack Roll
1d10Fire⁠Fire

Flame StrikeFlame Strike

Level 5 spell

Action + Level 5 Spell Slot

Range Icon.png 18 m (60 ft)
Aoe Icon.png 3 m (10 ft) (Radius)
5d6Fire⁠Fire
+ 5d6Radiant⁠Radiant

Flames of the PhoenixFlames of the Phoenix

Action

Action + 4 Ki Point

Range Icon.png 18 m (60 ft)
Aoe Icon.png 4 m (13 ft) (Radius)
8d6Fire⁠Fire

Flaming BladeFlaming Blade

Weapon action

Action
Range Icon.png 1.5 m (5 ft)
Melee Weapon Attack Roll Melee Weapon Attack Roll
Normal weapon damage
+ 2d6Fire⁠Fire

Flaming SphereFlaming Sphere

Level 2 spell

Action + Level 2 Spell Slot

Range Icon.png 18 m (60 ft)
Aoe Icon.png 2 m (7 ft) (Radius)
2d6Fire⁠Fire
Summons Flaming Sphere (creature) Flaming Sphere (creature)

Glyph of Warding: FireGlyph of Warding: Fire

Level 3 spell

Action + Level 3 Spell Slot

Range Icon.png 9 m (30 ft)
Aoe Icon.png 4 m (13 ft) (Radius)
5d8Fire⁠Fire

Heat MetalHeat Metal

Level 2 spell

Action + Level 2 Spell Slot

Range Icon.png 18 m (60 ft)
2d8Fire⁠Fire
Applies Weapon Dropped! Weapon Dropped!, Heat Metal: Disadvantage Heat Metal: Disadvantage and Heat Metal Heat Metal

Heat Metal: Reapply DamageHeat Metal: Reapply Damage

Level 2 spell

Bonus Action

Range Icon.png 18 m (60 ft)
2d8Fire⁠Fire
Applies Weapon Dropped! Weapon Dropped! and Heat Metal: Disadvantage Heat Metal: Disadvantage

HellcrawlerHellcrawler

Action

Bonus Action
Range Icon.png 18 m (60 ft)
Aoe Icon.png 3 m (10 ft) (Radius)
2d8Fire⁠Fire

Hellflame CleaveHellflame Cleave

Cantrip

Action
Aoe Icon.png 3 m (10 ft) (Cone)
Normal weapon damage
+ 2d6Fire⁠Fire
Applies Roiling Hellfire Roiling Hellfire

Hellish RebukeHellish Rebuke

Level 1 spell

Reaction + Level 1 Spell Slot

-
-
2d10Fire⁠Fire (Dexterity Saving Throw Dexterity Saving Throw to halve)

Immolating GazeImmolating Gaze

Action

Action
Range Icon.png 9 m (30 ft)
2d8Fire⁠Fire
Applies Fearful Fearful

Incongruent SplashIncongruent Splash

Level 1 spell

Action + Level 1 Spell Slot
Recharge Icons.pngPer Battle
Range Icon.png Self
Aoe Icon.png 5 m (17 ft) (Cone)
3d6Fire⁠Fire
Applies Wet Wet

Infernal Legacy: Hellish RebukeInfernal Legacy: Hellish Rebuke

Level 1 spell

Reaction
-
-
3d10Fire⁠Fire (Dexterity Saving Throw Dexterity Saving Throw to halve)

Kith'raki InfernoKith'raki Inferno

Action

Action

Range Icon.png 30 m (100 ft)
12d6Fire⁠Fire

Legacy of Avernus: Searing SmiteLegacy of Avernus: Searing Smite

Level 1 spell

Action + Bonus Action
Range Icon.png Weapon
Normal weapon damage
+ 2d6Fire⁠Fire
+ 1d6Fire⁠Fire (Per turn)
Applies Searing Smite Searing Smite

Legacy of Cania: Burning HandsLegacy of Cania: Burning Hands

Level 1 spell

Action + Level 1 Spell Slot
Range Icon.png Self
Aoe Icon.png 5 m (17 ft) (Cone)
4d6Fire⁠Fire

Lorroakan's FirestormLorroakan's Firestorm

Action

Action

Range Icon.png 30 m (100 ft)
Aoe Icon.png 6 m (20 ft) (Radius)
10d6Fire⁠Fire
+ 10d6Force⁠Force

Multiattack (Fire Elemental)Multiattack (Fire Elemental)

Action

Action
Recharge Icons.pngPer turn
Range Icon.png 1.5 m (5 ft)
Melee Unarmed Attack Roll Melee Unarmed Attack Roll

Nautiloid AirstrikeNautiloid Airstrike

Action

-
-
5d6Force⁠Force
+ 5d6Fire⁠Fire

OverheatOverheat

Weapon action

Bonus Action

Range Icon.png Self
Aoe Icon.png 2 m (7 ft) (Radius)
1d10Fire⁠Fire
Applies Burning Fiercely Burning Fiercely

Produce FlameProduce Flame

Cantrip

Action

Range Icon.png Self
-
1d8Fire⁠Fire
Applies Produce Flame Produce Flame

Produce Flame: HurlProduce Flame: Hurl

Cantrip

Action

Range Icon.png 9 m (30 ft)
1d8Fire⁠Fire

RamRam

Action

Bonus Action

Range Icon.png 1.5 m (5 ft)
2d6Fire⁠Fire

Rays of Fire (Cantrip)Rays of Fire (Cantrip)

Cantrip

Action
Range Icon.png 18 m (60 ft)
3d6Fire⁠Fire
+ 3d6Fire⁠Fire
+ 3d6Fire⁠Fire

Rays of Fire (Mol)Rays of Fire (Mol)

Level 4 spell

Action
Range Icon.png 18 m (60 ft)
Ranged Spell Attack Roll Ranged Spell Attack Roll
3d6Fire⁠Fire
+ 3d6Fire⁠Fire
+ 3d6Fire⁠Fire
+ 3d6Fire⁠Fire

Rolan's FireballRolan's Fireball

Level 4 spell

Action + Level 4 Spell Slot

Range Icon.png 18 m (60 ft)
Aoe Icon.png 4 m (13 ft) (Radius)
7d6Fire⁠Fire
Applies Heat Metal Heat Metal and Heat Metal: Disadvantage Heat Metal: Disadvantage

Rolan's FirestormRolan's Firestorm

Action

Action

Range Icon.png 30 m (100 ft)
Aoe Icon.png 6 m (20 ft) (Radius)
10d6Fire⁠Fire
+ 10d6Force⁠Force

Scorching RayScorching Ray

Level 2 spell

Action + Level 2 Spell Slot

Range Icon.png 18 m (60 ft)
2d6Fire⁠Fire
+ 2d6Fire⁠Fire
+ 2d6Fire⁠Fire

Scorching StrikeScorching Strike

Weapon action

Action

Range Icon.png 1.5 m (5 ft)
Melee Weapon Attack Roll Melee Weapon Attack Roll
Normal weapon damage
+ 1d10Fire⁠Fire
Applies Burning Burning

Searing BloodSearing Blood

Weapon action

Action
Range Icon.png 1.5 m (5 ft)
Melee Weapon Attack Roll Melee Weapon Attack Roll
Normal weapon damage
+ 1d6Fire⁠Fire
+ 1d6Piercing⁠Piercing (To self)
Applies Bleeding Bleeding and Burning Burning

Searing SmiteSearing Smite

Level 1 spell

Action + Bonus Action + Level 1 Spell Slot

Range Icon.png Weapon
Normal weapon damage
+ 1d6Fire⁠Fire
+ 1d6Fire⁠Fire (Per turn)
Applies Searing Smite Searing Smite

Self ImmolationSelf Immolation

Action

Bonus Action
Range Icon.png Self
-
1d4Fire⁠Fire (to self)
Applies Heat Heat

Smouldering TouchSmouldering Touch

Action

Action

Range Icon.png 1.5 m (5 ft)
Aoe Icon.png 1 m (3 ft) (Radius)
Melee Unarmed Attack Roll Melee Unarmed Attack Roll
2d6Fire⁠Fire
Applies Burning Burning
View all
Markup
{{Action table
| title = Arcane Shots
| columns = name, aoe, roll, damage, conditions
| where = name LIKE "Arcane Shot%"
}}
Renders as
Arcane Shots
NameArea of EffectRollDamageCondition

Arcane Shot: Banishing ArrowArcane Shot: Banishing Arrow

-
Ranged Weapon Attack Roll Ranged Weapon Attack Roll
Normal weapon damage
Banished Banished

Arcane Shot: Beguiling ArrowArcane Shot: Beguiling Arrow

-
Ranged Weapon Attack Roll Ranged Weapon Attack Roll
Normal weapon damage
+ 2d6Psychic⁠Psychic
Charmed Charmed

Arcane Shot: Bursting ArrowArcane Shot: Bursting Arrow

5 m (17 ft) (Radius)

Ranged Weapon Attack Roll Ranged Weapon Attack Roll
Normal weapon damage
+ 2d6Force⁠Force
-

Arcane Shot: Enfeebling ArrowArcane Shot: Enfeebling Arrow

-
Ranged Weapon Attack Roll Ranged Weapon Attack Roll
Normal weapon damage
+ 2d6Necrotic⁠Necrotic
Feeble Feeble

Arcane Shot: Grasping ArrowArcane Shot: Grasping Arrow

-
Ranged Weapon Attack Roll Ranged Weapon Attack Roll
Normal weapon damage
+ 2d6Poison⁠Poison
+ 2d6Slashing⁠Slashing (Per turn when moving)
Grasping Arrow: Entangled Grasping Arrow: Entangled

Arcane Shot: Piercing ArrowArcane Shot: Piercing Arrow

10 m (33 ft) (Line)

Normal weapon damage
+ 1d6Weapon⁠Weapon
-

Arcane Shot: Seeking ArrowArcane Shot: Seeking Arrow

-
Normal weapon damage
+ 1d6Force⁠Force
Faerie Fire Faerie Fire

Arcane Shot: Shadow ArrowArcane Shot: Shadow Arrow

-
Ranged Weapon Attack Roll Ranged Weapon Attack Roll
Normal weapon damage
+ 2d6Psychic⁠Psychic
Blinded Blinded

Template data

Display a table of actions queried from the corresponding Cargo table

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Columnscolumns

The columns to be displayed in this table. This is a comma separated list of column names. If omitted, the table will use the default column layout.

Suggested values
name, type, level, cost, recharge, cost-recharge, range, aoe, range-aoe, roll, damage, conditions, summons, effects
Default
name, type, cost-recharge, range-aoe, roll, effect
Auto value
name, type, cost-recharge, range-aoe, roll, effect
Stringoptional
Wherewhere

The SQL WHERE clause for the table query. This follows ordinary SQL syntax with operators like AND, OR, NOT, HOLDS, or LIKE. Refer to the "actions" cargo table for the fields available.

Example
name LIKE "Arcane Shot%"
Stringrequired
Titletitle

A title to display on the table

Unknownsuggested