Difference between revisions of "Template:Spell"
From DDO Compendium
MNDeveloper (talk | contribs) (Don't show spell features that aren't sent in.) |
MNDeveloper (talk | contribs) |
||
Line 96: | Line 96: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="margin-top:5px"> | <td style="margin-top:5px">{{#if: {{{level|}}}|'''Level:''' {{{level|}}}<br>}}{{#if: {{{sp|}}}|'''Spell Point Cost:''' {{{sp|}}}<br>}}{{#if: {{{components|}}}|'''Components:''' {{{components|}}}<br>}}{{#if: {{{metamagic|}}}|'''Metamagic:''' {{{metamagic|}}}<br>}}{{#if: {{{range|}}}|'''Range:''' {{{range|}}}<br>}}{{#if: {{{target|}}}|'''Target:''' {{{target|}}}<br>}}{{#if: {{{duration|}}}|'''Duration:''' {{{duration|}}}<br>}}{{#if: {{{cooldown|}}}|'''Cooldown:''' {{{cooldown|}}}<br>}}'''Save:''' {{#if: {{{save|}}}|{{{save}}}|None}}<br> | ||
{{#if: {{{level|}}}|'''Level:''' {{{level|}}}<br>}} | '''Spell Resistance:''' {{#if: {{{sr|}}}|{{{sr}}}|No}}<br></td> | ||
{{#if: {{{sp|}}}|'''Spell Point Cost:''' {{{sp|}}}<br>}} | |||
{{#if: {{{components|}}}|'''Components:''' {{{components|}}}<br>}} | |||
{{#if: {{{metamagic|}}}|'''Metamagic:''' {{{metamagic|}}}<br>}} | |||
{{#if: {{{range|}}}|'''Range:''' {{{range|}}}<br>}} | |||
{{#if: {{{target|}}}|'''Target:''' {{{target|}}}<br>}} | |||
{{#if: {{{duration|}}}|'''Duration:''' {{{duration|}}}<br>}} | |||
{{#if: {{{cooldown|}}}|'''Cooldown:''' {{{cooldown|}}}<br>}} | |||
'''Save:''' {{#if: {{{save|}}}|{{{save}}}|None}}<br> | |||
'''Spell Resistance:''' {{#if: {{{sr|}}}|{{{sr}}}|No}}<br> | |||
</td> | |||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 16:06, 25 June 2019
{{Template:Spell |name = |school= |level = |sp= |components= |metamagic = |range = |target = |duration= |save = |sr = |cooldown= |description = |notes= |soldby= |icon= |link= }}
Spell[edit]
This template is used to render information about a spell. Example of the Template in Use: Ablative Armor.
Usage[edit]
Parameter Documentation | |
name | The name of the spell. |
school | Enter the school this spell is in, using Template:SpellSchool |
level | Enter the class levels needed, using Template:SpellLevel |
sp | The Spell Point cost. |
components | The components that are needed to cast this spell. Use Template:SpellComponent |
metamagic | Which metamagics work on this spell. Use Template:SpellMeta |
range | What is the range for this spell. Use Template:SpellRange |
target | What targets are used by the spell. Use Template:SpellTarget |
duration | How long the spell lasts |
save | Describe a save that could be done |
sr | Describe any spell resistanace |
cooldown | How long before the next time you can cast the spell. |
description | Enter the description of what this spell does, |
notes | Optional, adds notes to the spell, put bugs if any in here |
soldby | A bulleted list of vendors that sell this. Use Template:PageLink |
icon | The name of the image to use. There is a default, so this should only be used if the default doesn't make sense |
link | The name of the page that this is on. Used by DPL |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.