Difference between revisions of "Template:Spell"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 88: | Line 88: | ||
|parameter21description = This should contain a bullited list of spells that are children of this one. Use [[Template:SpellChild]] | |parameter21description = This should contain a bullited list of spells that are children of this one. Use [[Template:SpellChild]] | ||
|parameter22name = primer | |parameter22name = primer | ||
|parameter22description = Which primer | |parameter22description = Which primer element is this spell in | ||
|parameter22values= | |parameter22values= | ||
* Crimsonite | * Crimsonite | ||
Line 114: | Line 114: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<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: {{{forms|}}}|'''Valid Forms:''' {{{forms|}}}<br>}}{{#if: {{{primer|}}}|'''Primer | <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: {{{forms|}}}|'''Valid Forms:''' {{{forms|}}}<br>}}{{#if: {{{primer|}}}|'''Primer Element:''' {{#switch: {{lc:{{{primer|}}}}} | ||
|crimsonite={{ColorText|Red|Crimsonite}} | |crimsonite={{ColorText|Red|Crimsonite}} | ||
|gildleaf={{ColorText|Yellow|Gildleaf}} | |gildleaf={{ColorText|Yellow|Gildleaf}} |
Revision as of 22:10, 18 January 2020
{{Template:Spell |name = |school= |level = |cost= |components= |metamagic = |range = |target = |duration= |save = |sr = |cooldown= |description = |notes= |soldby= |icon= |link= |dice= |forms= |parent= |children= |primer= }}
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 |
dice | The information about the D&D Dice damage/healing. |
forms | This is the list of valid forms for the spell. Use Template:SpellForm |
parent | Set this to the spell that is the parent of this one. I.E. Resist Energy is the parent of Resist Energy: Fire. Use Template:PageLink |
children | This should contain a bullited list of spells that are children of this one. Use Template:SpellChild |
primer | Which primer element is this spell in Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.