Difference between revisions of "Template:SpellDPLTable"

From DDO Compendium
 
(2 intermediate revisions by one other user not shown)
Line 21: Line 21:
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Levels,Metamagics,Cost
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Levels,Metamagics,Cost
|noresultsheader= 
|noresultsheader= 
|count=
}}|{{#if: {{{2|}}}|{{#DPL:
}}|{{#if: {{{2|}}}|{{#DPL:
|debug=3
|debug=3
Line 27: Line 28:
|ordermethod = title
|ordermethod = title
|allowcachedresults=true
|allowcachedresults=true
|cacheperiod=1209600
|include={Spell¦SpellDPLClass}
|include={Spell¦SpellDPLClass}
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Metamagics,Cost,Components
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Metamagics,Cost,Components
|noresultsheader= 
|noresultsheader= 
|count=
}}|{{#DPL:
}}|{{#DPL:
|debug=3
|debug=3
Line 37: Line 40:
|include={Spell¦SpellDPL}
|include={Spell¦SpellDPL}
|allowcachedresults=true
|allowcachedresults=true
|cacheperiod=1209600
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Levels,Metamagics,Cost
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Levels,Metamagics,Cost
|noresultsheader= 
|noresultsheader= 
|count=
}}
}}
}}
}}
}}{{#dplvar:set|displaystyle|}}{{#dplvar:set|fromdpl|}}{{#dplvar:set|component|}}
}}{{#dplvar:set|displaystyle|}}{{#dplvar:set|fromdpl|}}{{#dplvar:set|component|}}
</includeonly>
</includeonly>

Latest revision as of 23:25, 20 June 2024


SpellDPLTable[edit]

This template is used to generate a list of spells based on the category of the spell

Usage[edit]

{{SpellDPLTable|(Category)|(Component)}}

Parameter Documentation
CategoryThe name of the category to display.
ComponentThe name of the component that is required if the spells have a material component.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.