Difference between revisions of "Template:SpellDPLTable"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 11: | Line 11: | ||
</noinclude><includeonly>{{#dplvar:set|displaystyle|Table}}{{#dplvar:set|fromdpl|true}}{{#dplvar:set|component|{{{2}}}}} | </noinclude><includeonly>{{#dplvar:set|displaystyle|Table}}{{#dplvar:set|fromdpl|true}}{{#dplvar:set|component|{{{2}}}}} | ||
{{#if: {{{2|}}}|Spells at this level that have a material component require either [[Omnispell Dust]] or {{IconImage|{{{2}}}}}[[{{{2}}}]]}} | {{#if: {{{2|}}}|Spells at this level that have a material component require either [[Omnispell Dust]] or {{IconImage|{{{2}}}}}[[{{{2}}}]]}} | ||
{{#ifeq: {{{1}}}|All Spells| | |||
{{#DPL: | {{#DPL: | ||
|category={{{1|NotACategory}}} | |category={{{1|NotACategory}}} | ||
Line 18: | Line 19: | ||
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Levels,Metamagics,Cost,Components | |table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Levels,Metamagics,Cost,Components | ||
|noresultsheader= | |noresultsheader= | ||
}}|{{#DPL: | |||
|category={{{1|NotACategory}}} | |||
|uses = Template:Spell | |||
|tablesortcol = 1 | |||
|include={Spell¦SpellDPLClass} | |||
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Name,Effect,Metamagics,Cost,Components | |||
|noresultsheader= | |||
}} | |||
}} | }} | ||
</includeonly> | </includeonly> |
Revision as of 19:48, 30 June 2019
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.