Difference between revisions of "Template:Spell"

From DDO Compendium
Line 82: Line 82:
</td>
</td>
<td class="title">
<td class="title">
'''<section begin=spellname />{{{name}}}<section end=spellname />'''<br><section begin=spellschool />{{{school}}}<section end=spellschool /></td>
'''{{{name}}}'''<br>{{{school}}}</td>
</tr>
</tr>
</table>
</table>
Line 94: Line 94:
'''Metamagic:''' {{{metamagic|}}}<br>
'''Metamagic:''' {{{metamagic|}}}<br>
'''Range:''' {{{range|}}}<br>
'''Range:''' {{{range|}}}<br>
'''Target:''' <section begin=spelltarget />{{{target|}}}<section begin=spelltarget /><br>
'''Target:''' {{{target|}}}<br>
'''Duration:''' <section begin=spellduration />{{{duration|}}}<section end=spellduration /><br>
'''Duration:''' {{{duration|}}}<br>
'''Cooldown:''' {{{cooldown|}}}<br>
'''Cooldown:''' {{{cooldown|}}}<br>
'''Save:''' {{#if: {{{save|}}}|{{{save}}}|None}}<br>
'''Save:''' {{#if: {{{save|}}}|{{{save}}}|None}}<br>
'''Spell Resistance:''' <section begin=spellresist />{{#if: {{{sr|}}}|{{{sr}}}|No}}<section end=spellresist /><br>
'''Spell Resistance:''' {{#if: {{{sr|}}}|{{{sr}}}|No}}<br>
</td>
</td>
</tr>
</tr>
Line 107: Line 107:
<tr>
<tr>
<td class="extra-details">
<td class="extra-details">
'''Description:''' <section begin=spelldesc />{{{description}}}<section end=spelldesc /><br>
'''Description:''' {{{description}}}<br>
{{#if: {{{soldby|}}}|'''Sold By:'''
{{#if: {{{soldby|}}}|'''Sold By:'''
{{{soldby}}}}}
{{{soldby}}}}}

Revision as of 18:13, 9 June 2018

{{Template:Spell
|name =
|school=
|level =
|sp=
|components=
|metamagic = 
|range =
|target =
|duration= 
|save =
|sr =
|cooldown=
|description =
|soldby=
}}

Spell[edit]

This template is used to render information about a spell. Example of the Template in Use: Ablative Armor.

Usage[edit]

Parameter Documentation
nameThe name of the spell.
schoolEnter the school this spell is in, using Template:SpellSchool
levelEnter the class levels needed, using Template:SpellLevel
spThe Spell Point cost.
componentsThe components that are needed to cast this spell. Use Template:SpellComponent
metamagicWhich metamagics work on this spell. Use Template:SpellMeta
rangeWhat is the range for this spell. Use Template:SpellRange
targetComma separated list of who can be targeted
Possible Values:
  • Self
  • Friend
  • Foe
durationHow long the spell lasts
saveDescribe a save that could be done
srDescribe any spell resistanace
cooldownHow long before the next time you can cast the spell.
descriptionEnter the description of what this spell does,
soldbyA bulleted list of vendors that sell this.

Template

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