Template:Spell table: Difference between revisions

Jump to navigation Jump to search
Fetch the icon from the cargo table as well
(The save field now uses the save parameter, and only if that is empty it checks the damage save parameter,)
(Fetch the icon from the cargo table as well)
Line 1: Line 1:
<includeonly>{{#cargo_query:
<includeonly>{{#cargo_query:
tables = spells
tables = spells
|fields= _pageName=spell, name, is_concentration=conc, is_ritual=ritual, action_type=casttime, description, spell_level=level, can_upcast=upcastable, spell_range=range, aoe, aoe_size=area, has_attack_roll=attack, {{#if:save|save|damage_save}}=save, damage_type=damage, condition_duration=duration
|fields= _pageName=spell, icon, name, is_concentration=conc, is_ritual=ritual, action_type=casttime, description, spell_level=level, can_upcast=upcastable, spell_range=range, aoe, aoe_size=area, has_attack_roll=attack, {{#if:save|save|damage_save}}=save, damage_type=damage, condition_duration=duration
|where={{{where|_pageName = "Firebolt?"}}}
|where={{{where|_pageName = "Firebolt?"}}}
|order by=spell_level,name
|order by=spell_level,name

Navigation menu