Template:SpellListTest

help.fandom.com/wiki/Extension:DPL3/Parameters:_Controlling_output_volume

This took much longer to figure out than I wanted... so here's some definition texts on how this works Note: 'table = xxx' which usually describes the 'header to cell' matchings has been replaced by 'resultsheader' because of the more complex header format to support sorting by metamagics.

It would be possible to make the header of this table a template, but I think this complicates things too much.

Code
{{#dpl: }}
 * namespace      = Spell
 * category       = {{#var:rclass|Unknown Class}} spells/Level {{{level|Unknown}}}
 * class          = {{{class|}}}
 * level          = {{{level|}}}
 * include        = {Infobox-spell¦SpellListTest Phantom}
 * listseparators = ¶¦-
 * resultsheader  = {¦ class="wikitable sortable" ¶!rowspan=2¦Icon ¶!rowspan=2¦Name ¶!rowspan=2¦School ¶!rowspan=2¦Description ¶!rowspan=2¦S.C. ¶!colspan=10¦Metamagics ¶¦- ¶!Acc ¶!Enl ¶!Emb ¶!Emp ¶!Int ¶!Max ¶!Htn ¶!EHl ¶!Qkn ¶!Ext