Template:Action table

From bg3.wiki
Jump to navigation Jump to search

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 Retaliation Blazing Retaliation

Action

Bonus Action
Self
1d6FireFire (When a melee attacker misses)
Applies Blazing Retaliation Blazing Retaliation

Burning Hands Burning Hands

Level 1 spell

Action + Level 1 Spell Slot

Self
5 m / 17 ft (Cone)
3d6FireFire

Chromatic Orb: Fire Chromatic Orb: Fire

Level 1 spell

Action + Level 1 Spell Slot

18 m / 60 ft
2d8FireFire

Cinderous Swipe Cinderous Swipe

Action

Action

5 m / 17 ft (Cone)
Normal weapon damage
+ 2d6FireFire

Embrace of the Inferno Embrace of the Inferno

Action

Action + 3 Ki Point

18 m / 60 ft
Ranged spell attack roll
2d6FireFire
+ 2d6FireFire
+ 2d6FireFire

Erupting Cinder Erupting Cinder

Action

Action

18 m / 60 ft
3 m / 10 ft (Radius)
4d6FireFire

Fangs of the Fire Snake Fangs of the Fire Snake

Action

Action + Ki Point

6 m / 20 ft
Melee unarmed attack roll
+ 1d10FireFire
Applies Fangs of the Fire Snake Fangs of the Fire Snake

Fiendish Flameblast Fiendish Flameblast

Action

Bonus Action

2 m / 7 ft (Radius)
-
+ 4d8FireFire
Applies Infernal Burning Infernal Burning

Fire Bolt Fire Bolt

Cantrip

Action

18 m / 60 ft
1d10FireFire

Fire Breath Fire Breath

Action

Action
Self
5 m / 17 ft (Line)
2d6FireFire

Fire Breath Fire Breath

Action

Action
Self
5 m / 17 ft (Cone)
2d6FireFire

Fire Shield: Warm Fire Shield: Warm

Level 4 spell

Action + Level 4 Spell Slot

1.5 m / 5 ft
-
2d8FireFire (Against melee attackers)
Applies Fire Shield: Warm Fire Shield: Warm

Fireball Fireball

Level 3 spell

Action + Level 3 Spell Slot

18 m / 60 ft
4 m / 13 ft (Radius)
8d6FireFire

Firebolt? Firebolt?

Cantrip

Action

18 m / 60 ft
Ranged spell attack roll
1d10FireFire

Flame Strike Flame Strike

Level 5 spell

Action + Level 5 Spell Slot

18 m / 60 ft
3 m / 10 ft (Radius)
5d6FireFire
+ 5d6RadiantRadiant

Flames of the Phoenix Flames of the Phoenix

Action

Action + 4 Ki Point

18 m / 60 ft
4 m / 13 ft (Radius)
8d6FireFire

Flaming Sphere Flaming Sphere

Level 2 spell

Action + Level 2 Spell Slot

18 m / 60 ft
2 m / 7 ft (Radius)
2d6FireFire
Summons Flaming Sphere (creature) Flaming Sphere (creature)

Glyph of Warding: Fire Glyph of Warding: Fire

Level 3 spell

Action + Level 3 Spell Slot

9 m / 30 ft
4 m / 13 ft (Radius)
5d8FireFire

Heat Metal Heat Metal

Level 2 spell

Action + Level 2 Spell Slot

18 m / 60 ft
2d8FireFire
Applies Heat Metal Heat Metal and Heat Metal: Reapply Damage Heat Metal: Reapply Damage

Hellcrawler Hellcrawler

Action

Bonus Action
18 m / 60 ft
3 m / 10 ft (Radius)
2d8FireFire

Hellflame Cleave Hellflame Cleave

Cantrip

Action
3 m / 10 ft (Cone)
Normal weapon damage
+ 2d6FireFire
Applies Roiling Hellfire Roiling Hellfire

Hellish Rebuke Hellish Rebuke

Level 1 spell

Reaction + Level 1 Spell Slot

-
-
2d10FireFire ( Dexterity saving throw to halve)

Immolating Gaze Immolating Gaze

Action

Action
9 m / 30 ft
2d8FireFire
Applies Frightened Frightened

Incongruent Splash Incongruent Splash

Level 1 spell

Action + Level 1 Spell Slot
Per Battle
Self
5 m / 17 ft (Cone)
3d6FireFire
Applies Wet Wet

Kith'raki Inferno Kith'raki Inferno

Action

Action

30 m / 100 ft
12d6FireFire

Legacy of Avernus: Searing Smite Legacy of Avernus: Searing Smite

Level 1 spell

Action + Bonus Action
Weapon
Normal weapon damage
+ 2d6FireFire
+ 1d6FireFire (Per turn)
Applies Searing Smite Searing Smite

Lorroakan's Firestorm Lorroakan's Firestorm

Action

Action

30 m / 100 ft
6 m / 20 ft (Radius)
10d6FireFire
+ 10d6ForceForce

Multiattack Multiattack

Action

Action
Per turn
1.5 m / 5 ft
Melee unarmed attack roll

Produce Flame Produce Flame

Cantrip

Action

Self
-
1d8FireFire
Applies Produce Flame Produce Flame

Produce Flame: Hurl Produce Flame: Hurl

Cantrip

Action

9 m / 30 ft
1d8FireFire

Ram Ram

Action

Bonus Action

1.5 m / 5 ft
2d6FireFire

Rays of Fire Rays of Fire

Cantrip

Action
18 m / 60 ft
3d6FireFire
+ 3d6FireFire
+ 3d6FireFire

Reapply Heat Metal Reapply Heat Metal

Level 2 spell

Bonus Action

18 m / 60 ft
2d8FireFire
Applies Heat Metal Heat Metal

Rolan's Firestorm Rolan's Firestorm

Action

Action

30 m / 100 ft
6 m / 20 ft (Radius)
10d6FireFire
+ 10d6ForceForce

Scorching Ray Scorching Ray

Level 2 spell

Action + Level 2 Spell Slot

18 m / 60 ft
2d6FireFire
+ 2d6FireFire
+ 2d6FireFire

Searing Smite Searing Smite

Level 1 spell

Action + Bonus Action + Level 1 Spell Slot

Weapon
Normal weapon damage
+ 1d6FireFire
+ 1d6FireFire (Per turn)
Applies Searing Smite Searing Smite

Self Immolation Self Immolation

Action

Bonus Action
Self
-
1d4FireFire (to self)
Applies Heat Heat

Smouldering Touch Smouldering Touch

Action

Action

1.5 m / 5 ft
1 m / 3 ft (Radius)
Melee unarmed attack roll
2d6FireFire
Applies Burning Burning

Sphere of Elemental Balance: Fire Sphere of Elemental Balance: Fire

Action

Action + 2 Ki Point

18 m / 60 ft
Ranged spell attack roll
2d8FireFire

Sweeping Cinder Strike Sweeping Cinder Strike

Action

Action + 2 Ki Point

5 m / 17 ft (Cone)
3d6FireFire

Wall of Fire Wall of Fire

Level 4 spell

Action + Level 4 Spell Slot

18 m / 60 ft
5d8FireFire
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 Arrow Arcane Shot: Banishing Arrow

-
Ranged weapon attack roll
Normal weapon damage
Banished Banished

Arcane Shot: Beguiling Arrow Arcane Shot: Beguiling Arrow

-
Ranged weapon attack roll
Normal weapon damage
+ 2d6PsychicPsychic
Charmed Charmed

Arcane Shot: Bursting Arrow Arcane Shot: Bursting Arrow

5 m / 17 ft (Radius)

Ranged weapon attack roll
Normal weapon damage
+ 2d6ForceForce
-

Arcane Shot: Enfeebling Arrow Arcane Shot: Enfeebling Arrow

-
Ranged weapon attack roll
Normal weapon damage
+ 2d6NecroticNecrotic
Feeble Feeble

Arcane Shot: Grasping Arrow Arcane Shot: Grasping Arrow

-
Ranged weapon attack roll
Normal weapon damage
+ 2d6PoisonPoison
+ 2d6SlashingSlashing (Per turn when moving)
Grasping Arrow: Entangled Grasping Arrow: Entangled

Arcane Shot: Piercing Arrow Arcane Shot: Piercing Arrow

10 m / 33 ft (Line)

Normal weapon damage
+ 1d6WeaponWeapon
-

Arcane Shot: Seeking Arrow Arcane Shot: Seeking Arrow

-
Normal weapon damage
+ 1d6ForceForce
Faerie Fire Faerie Fire

Arcane Shot: Shadow Arrow Arcane Shot: Shadow Arrow

-
Ranged weapon attack roll
Normal weapon damage
+ 2d6PsychicPsychic
Blinded Blinded

Template data

Display a table of actions queried from the corresponding Cargo table

Template parameters

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