Ad placeholder

Template:Spell table: Difference between revisions

Jump to navigation Jump to search
Undo revision 234340 by NtCarlson (talk)
(Bandaid fix to avoid issue with intro/outro parameters not being parsed correctly. This workaround will cause issues with queries that return no results, but should work otherwise)
Tag: Reverted
(Undo revision 234340 by NtCarlson (talk))
Tag: Undo
 
Line 1: Line 1:
<includeonly>{{Spell list table row/header}}{{#cargo_query:
<includeonly>{{#cargo_query:
tables = spells
tables = spells
|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
|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
Line 5: Line 5:
|order by=spell_level,name
|order by=spell_level,name
|limit=500
|limit=500
|intro={{Spell list table row/header}}
|outro={{Spell list table row/footer}}
|more results text=
|more results text=
|format=template
|format=template
|template=Spell list table row
|template=Spell list table row
|named args=yes
|named args=yes
}}{{Spell list table row/footer}}</includeonly><noinclude>
}}</includeonly><noinclude>
This template generates a table filled with spells that satisfy the provided condition. It requires some knowledge of SQL to operate.
This template generates a table filled with spells that satisfy the provided condition. It requires some knowledge of SQL to operate.


Navigation menu