Template:Action table
More actions
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
- {{Action table/row}}, the template responsible for formatting each row
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 actiontype- The classification (e.g. level 2 spell, weapon action) of the actionlevel- Liketype, except in a more compact form that assumes the actions are spells with levelscost- The resource cost in expressed in compact iconsrecharge- The recharge or cooldown time of the actioncost-recharge- The cost and/or recharge time of the action in a merged columnrange- The range of the actionaoe- The area of effect of the actionrange-aoe- The range and/or area of effect of the action in a merged columnroll- The attack roll and/or saving throw of the actiondamage- The damage dealt by the actionconditions- The conditions applied or inflicted by the actionsummons- The creatures summoned by the actioneffects- 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
{{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| Name | Type | Cost/Recharge | Range/Area | Roll | Effect |
|---|---|---|---|---|---|
|
|
Action |
Self
|
1d6Fire (When a melee attacker misses) |
||
|
|
Level 1 spell |
+ |
Self 5 m / 17 ft (Cone)
|
3d6Fire |
|
|
|
Level 1 spell |
+ |
18 m / 60 ft
|
2d8Fire |
|
|
|
Action |
|
5 m / 17 ft (Cone)
|
Normal weapon damage + 2d6Fire |
|
|
|
Action |
+ 3 |
18 m / 60 ft
|
Ranged spell attack roll
| |
|
|
Action |
|
18 m / 60 ft 3 m / 10 ft (Radius)
|
4d6Fire |
|
|
|
Action |
+ |
6 m / 20 ft
|
Melee unarmed attack roll
|
UnarmedBludgeoning + 1d10Fire |
|
|
Action |
|
2 m / 7 ft (Radius)
|
-
| Applies Burning |
|
|
Cantrip |
|
18 m / 60 ft
|
1d10Fire |
|
|
|
Action |
Self 5 m / 17 ft (Line)
|
2d6Fire |
||
|
|
Action |
Self 5 m / 17 ft (Cone)
|
2d6Fire |
||
|
|
Level 4 spell |
+ |
1.5 m / 5 ft
|
-
|
2d8Fire (Against melee attackers) |
|
|
Level 3 spell |
+ |
18 m / 60 ft 4 m / 13 ft (Radius)
|
8d6Fire |
|
|
|
Cantrip |
|
18 m / 60 ft
|
Ranged spell attack roll
|
1d10Fire |
|
|
Level 5 spell |
+ |
18 m / 60 ft 3 m / 10 ft (Radius)
| ||
|
|
Action |
+ 4 |
18 m / 60 ft 4 m / 13 ft (Radius)
|
8d6Fire |
|
|
|
Level 2 spell |
+ |
18 m / 60 ft 2 m / 7 ft (Radius)
|
2d6Fire |
|
|
|
Level 3 spell |
+ |
9 m / 30 ft 4 m / 13 ft (Radius)
|
5d8Fire |
|
|
|
Level 2 spell |
+ |
18 m / 60 ft
|
2d8Fire |
|
|
|
Action |
18 m / 60 ft 3 m / 10 ft (Radius)
|
2d8Fire |
||
|
|
Cantrip |
3 m / 10 ft (Cone)
|
Normal weapon damage + 2d6Fire |
||
|
|
Level 1 spell |
+ |
-
|
-
|
|
|
|
Action |
9 m / 30 ft
|
2d8Fire |
||
|
|
Level 1 spell |
+ Per Battle
|
Self 5 m / 17 ft (Cone)
|
3d6Fire |
|
|
|
Action |
|
30 m / 100 ft
|
12d6Fire |
|
|
|
Level 1 spell | + |
Weapon
| Applies Searing Smite | |
|
|
Action |
|
30 m / 100 ft 6 m / 20 ft (Radius)
| ||
|
|
Action |
Per turn
|
1.5 m / 5 ft
|
Melee unarmed attack roll
|
|
|
|
Cantrip |
|
Self
|
-
|
1d8Fire |
|
|
Cantrip |
|
9 m / 30 ft
|
1d8Fire |
|
|
|
Action |
|
1.5 m / 5 ft
|
2d6Fire |
|
|
|
Cantrip |
18 m / 60 ft
| |||
|
|
Level 2 spell |
|
18 m / 60 ft
|
2d8Fire |
|
|
|
Action |
|
30 m / 100 ft 6 m / 20 ft (Radius)
| ||
|
|
Level 2 spell |
+ |
18 m / 60 ft
| ||
|
|
Level 1 spell |
+ + |
Weapon
| Applies Searing Smite | |
|
|
Action |
Self
|
-
|
1d4Fire (to self) |
|
|
|
Action |
|
1.5 m / 5 ft 1 m / 3 ft (Radius)
|
Melee unarmed attack roll
|
2d6Fire |
|
|
Action |
+ 2 |
18 m / 60 ft
|
Ranged spell attack roll
|
2d8Fire |
|
|
Action |
+ 2 |
5 m / 17 ft (Cone)
|
3d6Fire |
|
|
|
Level 4 spell |
+ |
18 m / 60 ft
|
5d8Fire |
{{Action table
| title = Arcane Shots
| columns = name, aoe, roll, damage, conditions
| where = name LIKE "Arcane Shot%"
}}
Renders as| Name | Area of Effect | Roll | Damage | Condition |
|---|---|---|---|---|
|
|
-
|
Ranged weapon attack roll
|
Normal weapon damage | Banished |
|
|
-
|
Ranged weapon attack roll
|
Normal weapon damage + 2d6Psychic | Charmed |
|
|
5 m / 17 ft (Radius) |
Ranged weapon attack roll
|
Normal weapon damage + 2d6Force |
- |
|
|
-
|
Ranged weapon attack roll
|
Normal weapon damage + 2d6Necrotic | Feeble |
|
|
-
|
Ranged weapon attack roll
| Grasping Arrow: Entangled | |
|
|
10 m / 33 ft (Line) |
Normal weapon damage + 1d6Weapon |
- |
|
|
|
-
|
Normal weapon damage + 1d6Force | Faerie Fire | |
|
|
-
|
Ranged weapon attack roll
|
Normal weapon damage + 2d6Psychic | Blinded |
Template data
Display a table of actions queried from the corresponding Cargo table
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Columns | columns | 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.
| String | optional |
| Where | where | 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.
| String | required |
| Title | title | A title to display on the table | Unknown | suggested |