Difference between revisions of "Template:SpellDPLClass"

From DDO Compendium
(Created page with "<noinclude> {{TemplateDocumentation |name = SpellDPL |description = This template is used with Template:SpellDPLTable to render a table of spells for a specific class. |ca...")
 
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>data-th=Name , class="cellwidth15"|{{IconImage|Spell_{{{name}}}|{{{icon|}}}|{{{name|}}}}}'''{{#if: {{{link|}}}|[[{{{link}}}|{{{name}}}]]|[[{{{name}}}]]}}'''{{#if: {{{school|}}}|<br>{{{school|}}}|}}
<onlyinclude>data-th=Name , class="cellwidth15"|{{IconImage|Spell_{{{name}}}|{{{icon|}}}|{{#if: {{{link|}}}|{{{link|}}}|{{{name|}}}}}}}'''{{#if: {{{link|}}}|[[{{{link}}}|{{{name}}}]]|[[{{{name}}}]]}}'''{{#if: {{{school|}}}|<br>{{{school|}}}|}}
|data-th=Description |{{#if: {{{description|}}} |  
|data-th=Description |{{#if: {{{description|}}} |  
{{#if: {{{target|}}}|'''Target:''' {{{target|}}}<br>|}}
{{#if: {{{target|}}}|'''Target:''' {{{target|}}}<br>|}}
{{#if: {{{primer|}}}|'''Primer Element:''' {{#switch: {{lc:{{{primer|}}}}}
|crimsonite={{ColorText|Red|Crimsonite}}
|gildleaf={{ColorText|Yellow|Gildleaf}}
|ceruleite ={{ColorText|Blue|Ceruleite}}}}<br>}}
{{{description|}}}}}
{{{description|}}}}}
|data-th=Metamagics, class="cellwidth15"|{{{metamagic|}}}
|data-th=Metamagics , class="cellwidth10"|{{{metamagic|}}}
|data-th=Cost, class="cellwidth10"|{{{cost|}}}
|data-th=Cost , class="cellwidth10"|{{{cost|}}}
|data-th=Components, class="cellwidth10"|{{{components|}}}
|data-th=Components , class="cellwidth15"|{{{components|}}}
</onlyinclude>
</onlyinclude>

Latest revision as of 21:13, 6 March 2022


SpellDPL[edit]

This template is used with Template:SpellDPLTable to render a table of spells for a specific class.

Usage[edit]

{{SpellDPL}}

data-th=Name , class="cellwidth15"|[[File:Spell_{{{name}}}_Icon.png|link=|36px|x36px|]][[{{{name}}}]] |data-th=Description | |data-th=Metamagics , class="cellwidth10"| |data-th=Cost , class="cellwidth10"| |data-th=Components , class="cellwidth15"|