Template:Spell table: Difference between revisions
Jump to navigation
Jump to search
(Update for new params) |
m (same as last) |
||
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, description, spell_range=spell_range, aoe, has_attack_roll=attack, damage_save=save, damage_type=damage, condition_duration=duration | |fields= _pageName=spell, is_concentration=conc, is_ritual=ritual, action_type=casttime, description, spell_range=spell_range, aoe=area, has_attack_roll=attack, damage_save=save, damage_type=damage, condition_duration=duration | ||
|where={{{where|_pageName = "Firebolt?"}}} | |where={{{where|_pageName = "Firebolt?"}}} | ||
|order by=_pageName | |order by=_pageName |
Revision as of 18:28, 16 October 2023
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 | {{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
4 turns | {{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft Radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft Conem / ft (Radius) |
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | |||||
1 turn | {{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft conem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft Radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft spherem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | |||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft conem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft linem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft conem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft Radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
10 turns | {{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
10 turns | {{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
1 turn | {{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
1 turn | {{{range}}}m / ft conem / ft (Radius) |
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | |||||
- |
{{{range}}}m / ft | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | |||||
2 turns | {{{range}}}m / ft | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | |||||
3 turns | {{{range}}}m / ft | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | |||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft conem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
3 turns | {{{range}}}m / ft radiusm / ft (Radius) |
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | |||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft radiusm / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft circlem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
2 turns | {{{range}}}m / ft radiusm / ft (Radius) |
Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | Attack roll | Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft Conem / ft (Radius) |
-
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} | ||||
- |
{{{range}}}m / ft | -
|
Fire[[File:{{{damage type}}} Damage Icon.png|link=Damage Types|x25px|alt=Damage Types|class=bg3wiki-icon ]]{{{damage type}}} |