Difference between revisions of "Template:SpellDPL"

From DDO Compendium
m (Made name bold)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>Used with [[Template:SpellDPLTable]]
<noinclude>
=== The Template ===
{{TemplateDocumentation
</noinclude>data-th="Name", style="width: 15%;"|{{#if: {{{name|}}}|[[File:Spell_{{{name}}}_Icon.png|left|link={{{name|}}}|40px|x40px|]]|}}'''[[{{{name|}}}]]'''<br>{{#if: {{{school|}}}|{{{school|}}}|}}
|name = SpellDPL
|data-th="Description"|{{#if: {{{description|}}} |
|description = This template is used with [[Template:SpellDPLTable]] to render a table of all spells.
{{#if: {{{sp|}}}|'''Spell Points:''' {{{sp|}}}<br>|}}
|category=DPL Templates
{{#if: {{{metamagic|}}}|'''[[Metamagic|Metamagics:]]''' {{{metamagic|}}}<br>|}}
}}
</noinclude>
<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|}}} |  
{{#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="Level", style="width: 10%;"|{{{level|}}}
|data-th=Level, class="cellwidth10"|{{{level|}}}
|data-th=Metamagics, class="cellwidth10"|{{{metamagic|}}}
|data-th=Cost, class="cellwidth10"|{{{cost|}}}
</onlyinclude>

Latest revision as of 17:40, 8 March 2022


SpellDPL[edit]

This template is used with Template:SpellDPLTable to render a table of all spells.

Usage[edit]

{{SpellDPL}}

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