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
Self
1d6FireFire (When a melee attacker misses)
Applies Blazing RetaliationBlazing Retaliation

Burning HandsBurning Hands

Level 1 spell

Action + Level 1 Spell Slot

Self
5 m / 17 ft (Cone)
3d6FireFire

Chromatic Orb: FireChromatic Orb: Fire

Level 1 spell

Action + Level 1 Spell Slot

18 m / 60 ft
2d8FireFire

Cinderous SwipeCinderous Swipe

Action

Action

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

Embrace of the InfernoEmbrace of the Inferno

Action

Action + 3 Ki Point

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

Erupting CinderErupting Cinder

Action

Action

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

Fangs of the Fire SnakeFangs of the Fire Snake

Action

Action + Ki Point

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

Fiendish FlameblastFiendish Flameblast

Action

Bonus Action

2 m / 7 ft (Radius)
-
4d8ForceForce
+ 4d8FireFire
Applies BurningBurning

Fire BoltFire Bolt

Cantrip

Action

18 m / 60 ft
1d10FireFire

Fire BreathFire Breath

Action

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

Fire BreathFire Breath

Action

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

Fire Shield: WarmFire Shield: Warm

Level 4 spell

Action + Level 4 Spell Slot

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

FireballFireball

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 Ranged spell attack roll
1d10FireFire

Flame StrikeFlame Strike

Level 5 spell

Action + Level 5 Spell Slot

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

Flames of the PhoenixFlames of the Phoenix

Action

Action + 4 Ki Point

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

Flaming SphereFlaming 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: FireGlyph of Warding: Fire

Level 3 spell

Action + Level 3 Spell Slot

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

Heat MetalHeat Metal

Level 2 spell

Action + Level 2 Spell Slot

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

HellcrawlerHellcrawler

Action

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

Hellflame CleaveHellflame Cleave

Cantrip

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

Hellish RebukeHellish Rebuke

Level 1 spell

Reaction + Level 1 Spell Slot

-
-
2d10FireFire ( Dexterity saving throw to halve)

Immolating GazeImmolating Gaze

Action

Action
9 m / 30 ft
2d8FireFire
Applies FrightenedFrightened

Incongruent SplashIncongruent Splash

Level 1 spell

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

Kith'raki InfernoKith'raki Inferno

Action

Action

30 m / 100 ft
12d6FireFire

Legacy of Avernus: Searing SmiteLegacy of Avernus: Searing Smite

Level 1 spell

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

Lorroakan's FirestormLorroakan's Firestorm

Action

Action

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

MultiattackMultiattack

Action

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

Produce FlameProduce Flame

Cantrip

Action

Self
-
1d8FireFire
Applies Produce FlameProduce Flame

Produce Flame: HurlProduce Flame: Hurl

Cantrip

Action

9 m / 30 ft
1d8FireFire

RamRam

Action

Bonus Action

1.5 m / 5 ft
2d6FireFire

Rays of FireRays of Fire

Cantrip

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

Reapply Heat MetalReapply Heat Metal

Level 2 spell

Bonus Action

18 m / 60 ft
2d8FireFire
Applies Heat MetalHeat Metal

Rolan's FirestormRolan's Firestorm

Action

Action

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

Scorching RayScorching Ray

Level 2 spell

Action + Level 2 Spell Slot

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

Searing SmiteSearing Smite

Level 1 spell

Action + Bonus Action + Level 1 Spell Slot

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

Self ImmolationSelf Immolation

Action

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

Smouldering TouchSmouldering Touch

Action

Action

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

Sphere of Elemental Balance: FireSphere of Elemental Balance: Fire

Action

Action + 2 Ki Point

18 m / 60 ft
Ranged spell attack roll Ranged spell attack roll
2d8FireFire

Sweeping Cinder StrikeSweeping Cinder Strike

Action

Action + 2 Ki Point

5 m / 17 ft (Cone)
3d6FireFire

Wall of FireWall 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 ArrowArcane Shot: Banishing Arrow

-
Ranged weapon attack roll Ranged weapon attack roll
Normal weapon damage
BanishedBanished

Arcane Shot: Beguiling ArrowArcane Shot: Beguiling Arrow

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

Arcane Shot: Bursting ArrowArcane Shot: Bursting Arrow

5 m / 17 ft (Radius)

Ranged weapon attack roll Ranged weapon attack roll
Normal weapon damage
+ 2d6ForceForce
-

Arcane Shot: Enfeebling ArrowArcane Shot: Enfeebling Arrow

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

Arcane Shot: Grasping ArrowArcane Shot: Grasping Arrow

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

Arcane Shot: Piercing ArrowArcane Shot: Piercing Arrow

10 m / 33 ft (Line)

Normal weapon damage
+ 1d6WeaponWeapon
-

Arcane Shot: Seeking ArrowArcane Shot: Seeking Arrow

-
Normal weapon damage
+ 1d6ForceForce
Faerie FireFaerie Fire

Arcane Shot: Shadow ArrowArcane Shot: Shadow Arrow

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

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