Template:Spell table: Difference between revisions
Jump to navigation
Jump to search
(Update for new params) |
Tag: Undo |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: | <includeonly>{{#cargo_query: | ||
tables = spells | tables = spells | ||
|fields= _pageName=spell, is_concentration=conc, is_ritual=ritual, action_type=casttime, | |fields= _pageName=spell, controller_icon, name, is_spell, is_concentration=conc, is_ritual=ritual, action_type=casttime, spell_level=level, can_upcast=upcastable, spell_range=range, aoe, aoe_size=area, has_attack_roll=attack, {{#if:save|save|damage_save}}=save, damage, damage_type, extra_damage, extra_damage_type, condition_duration=duration | ||
|where={{{where|_pageName = "Firebolt?"}}} | |where={{{where|_pageName = "Firebolt?"}}} | ||
|order by= | |order by=spell_level,name | ||
|limit=500 | |||
|intro={{Spell list table row/header}} | |intro={{Spell list table row/header}} | ||
|outro={{Spell list table row/footer}} | |outro={{Spell list table row/footer}} | ||
Line 22: | Line 23: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
== Template data == | == Template data == | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"where": { | |||
"description": "A \"where\" clause for the SQL query.", | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 06:42, 5 October 2024
This template generates a table filled with spells that satisfy the provided condition. It requires some knowledge of SQL to operate.
Example:{{Spell table |where=damage_type = "fire" }}
Name | Level | Cast time | Duration | Range/Area | Attack/Save | Damage/Effect | |
---|---|---|---|---|---|---|---|
5 turns | 30m / 100ft | -
|
1d4Fire | ||||
4 turns | Self | 1d6Fire | |||||
- |
m / ft 4m / 13ft (Radius) |
-
|
2d8+2Fire 1d6Fire |
||||
1 turn | m / ft 5m / 16ft (Radius) |
-
|
6d6Fire | ||||
- |
m / ft 5m / 16ft (Cone) |
weaponFire 1d6Fire |
|||||
- |
m / ft 2m / 6.5ft (Radius) |
2d6Fire | |||||
- |
m / ft 2m / 6.5ft |
-
|
100Fire | ||||
- |
18 m / 60 ft | Attack roll | 2d6Fire | ||||
- |
18 m / 60 ft 3m / 10ft (Radius) |
4d6Fire | |||||
- |
4m / ft 2m / ft (Radius) |
6d10Fire | |||||
- |
Self 5m / 17ft |
2d6Fire | |||||
- |
30m / 100ft | 14d6Fire | |||||
- |
Self 5m / 17ft (Cone) |
2d6Fire | |||||
- |
m / ft 5m / 16ft (Cone) |
2d6Fire | |||||
- |
m / ft 4m / 13ft (Radius) |
-
|
2d6Fire | ||||
- |
18 m / 60 ft 4m / 13ft (Radius) |
8d6Fire | |||||
- |
3m / 10ft 4m / 13ft (Radius) |
6d8Fire | |||||
- |
18m / 60ft | -
|
2d8Fire | ||||
1 turn | 18 m / 60 ft | 3d8Fire 3d8Fire |
|||||
- |
100m / 333ft | 96d6Fire | |||||
3 turns | 9m / 30ft | 2d8Fire | |||||
- |
m / ft 5m / 17ft (Cone) |
10d6Fire | |||||
- |
m / ft | 8d8Fire | |||||
- |
30m / 60ft | 12d6Fire | |||||
- |
18m / 60ft 6m / 12ft (Radius) |
10d6Fire 10d6Force |
|||||
3 turns | Self 2m / 7ft (Radius) |
1d10Fire | |||||
- |
1.5 m / 5 ft | 6d6Fire | |||||
- |
1.5 m / 5 ft | 2d6Fire | |||||
- |
18m / 60ft 6m / 12ft (Radius) |
10d6Fire 10d6Force |
|||||
- |
Self 5m / 15ft |
4d12+26Fire | |||||
- |
5m / 15ft | 12d12+78Fire | |||||
2 turns | 1.5 m / 5 ft 1m / 3ft (Radius) |
Attack roll | 2d6Fire | ||||
- |
18 m / 60 ft | Attack roll | 2d8Fire | ||||
- |
m / ft 5m / 17ft (Cone) |
3d6Fire | |||||
C | - |
8m / 25ft | Attack roll | 1d4Fire | |||
C | - |
18m / 60ft | Attack roll | 1d10Fire | |||
C | - |
18m / 60ft | Attack roll | 1d10Fire | |||
C | 1 turn | m / ft 3m / 10ft (Cone) |
weaponFire 2d6Fire |
||||
C | - |
9m / 30ft | Attack roll | 1d8Fire | |||
C | - |
18 m / 60 ft | Attack roll | 3d6Fire | |||
1 | - |
Self 5m / 17ft (Cone) |
3d6Fire | ||||
1 | - |
18 m / 60 ft | Attack roll | 2d8Fire | |||
1 | - |
m / ft | -
|
2d10Fire | |||
2 | - |
18 m / 60 ft 2m / 7ft (Radius) |
2d6Fire | ||||
2 | 10 turns | 18 m / 60 ft | 2d8Fire | ||||
2 | - |
18 m / 60 ft | Attack roll | 3d6Fire | |||
2 | 10 turns | 18 m / 60 ft | 2d8Fire | ||||
2 | - |
18 m / 60 ft | Attack roll | 2d6Fire | |||
3 | - |
18m / 60ft 4m / 13ft (Radius) |
8d6Fire | ||||
3 | - |
9m / 30ft 4m / 13ft (Radius) |
5d8Fire | ||||
4 | 2 turns | 18m / 60ft | 6d6Fire | ||||
4 | - |
18m / 60ft | 5d8Fire | ||||
5 | - |
18m / 60ft 3m / 10ft (Radius) |
5d6Fire 5d6Radiant |
||||
6 | - |
18m / 60ft | 6d6Fire | ||||
6 | - |
18m / 60ft 4m / 13ft (Radius) |
20d6Fire | ||||
6 | - |
m / ft 3m / 10ft (Radius) |
8d8Fire | ||||
6 | - |
18m / 60ft 4m / ft (Radius) |
Attack roll | 20d6Fire |
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
where | where | A "where" clause for the SQL query. | Unknown | suggested |