Difference between revisions of "Template:SpellDPLTable"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
{{#ifeq: {{{1}}}|All Spells| | {{#ifeq: {{{1}}}|All Spells| | ||
{{#DPL: | {{#DPL: | ||
|debug=3 | |||
|category={{{1|NotACategory}}} | |category={{{1|NotACategory}}} | ||
|uses = Template:Spell | |uses = Template:Spell | ||
| | |ordermethod = title | ||
|allowcachedresults=true | |allowcachedresults=true | ||
| | |cacheperiod=1209600 | ||
|include={Spell¦SpellDPL} | |include={Spell¦SpellDPL} | ||
|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 | |||
|category={{{1|NotACategory}}} | |category={{{1|NotACategory}}} | ||
|uses = Template:Spell | |uses = Template:Spell | ||
| | |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 | |||
|category={{{1|NotACategory}}} | |category={{{1|NotACategory}}} | ||
|uses = Template:Spell | |uses = Template:Spell | ||
| | |ordermethod = title | ||
|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|}} | ||
</includeonly> | </includeonly> |
Latest revision as of 12:51, 2 August 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 | |
Category | The name of the category to display. |
Component | The 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.