Template:Spell table: Difference between revisions
Jump to navigation
Jump to search
(Create initial version) |
(Update for new params) |
||
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, | |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 | ||
|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 | -
|
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 | 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 | -
|
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 | -
|
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 | 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 | -
|
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 | 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 | -
|
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 | -
|
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 | -
|
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}}} | |||||
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 | -
|
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 | -
|
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}}} | ||||
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 | 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 | 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 | -
|
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}}} | ||||
2 turns | {{{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 | -
|
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}}} |