Difference between revisions of "Template:Spell"
From DDO Compendium
MNDeveloper (talk | contribs) (Changing how cost is displayed so that we can have multiple different types (Spell Points, Hit Points, etc)) |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
|school= | |school= | ||
|level = | |level = | ||
| | |cost= | ||
|components= | |components= | ||
|metamagic = | |metamagic = | ||
Line 96: | Line 96: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td style="margin-top:5px">{{#if: {{{level|}}}|'''Level:''' {{{level|}}}<br>}}{{#if: {{{ | <td style="margin-top:5px">{{#if: {{{level|}}}|'''Level:''' {{{level|}}}<br>}}{{#if: {{{cost|}}}|{{{cost|}}}<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> | '''Spell Resistance:''' {{#if: {{{sr|}}}|{{{sr}}}|No}}<br></td> | ||
</tr> | </tr> |
Revision as of 18:33, 27 June 2019
{{Template:Spell |name = |school= |level = |cost= |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 |
cost | The cost, whether in Spell Points, Hit Points, or some other. Use Template:SpellCost |
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. Use Template:SpellDuration |
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. . Use Template:SpellCooldown |
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.