Difference between revisions of "Template:Spell"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 81: | Line 81: | ||
|parameter19name = forms | |parameter19name = forms | ||
|parameter19description = This is the list of valid forms for the spell. Use [[Template:SpellForm]] | |parameter19description = This is the list of valid forms for the spell. Use [[Template:SpellForm]] | ||
|parameter20name = | |parameter20name = parent | ||
|parameter20description = Set this to | |parameter20description = Set this to the spell that is the parent of this one. I.E. [[Elemental Resistance: Fire]] is only available if you choose [[Elemental Resistance]] | ||
}} | }} | ||
</noinclude><includeonly>{{#dplvar:set|spellischild|{{{ | </noinclude><includeonly>{{#dplvar:set|spellischild|{{{parent|}}}}} | ||
{{SpellsHeader}}<br> | {{SpellsHeader}}<br> | ||
<table class="item-table background-color"> | <table class="item-table background-color"> | ||
Line 115: | Line 115: | ||
'''Description:''' {{{description|}}}<br>{{#if: {{{notes|}}}|<br>'''Notes:''' | '''Description:''' {{{description|}}}<br>{{#if: {{{notes|}}}|<br>'''Notes:''' | ||
{{{notes|}}}<br>|}}{{#if: {{{soldby|}}}|<br>'''Vendors:''' | {{{notes|}}}<br>|}}{{#if: {{{soldby|}}}|<br>'''Vendors:''' | ||
{{{soldby}}}}} | {{{soldby}}}}}{{#if: {{{parent|}}}|<br>'''Parent:''' {{{parent}}}}} | ||
</td> | </td> | ||
</tr>{{#if: {{{dice|}}}|<tr><td class="extra-details"> | </tr>{{#if: {{{dice|}}}|<tr><td class="extra-details"> |
Revision as of 02:04, 17 July 2019
{{Template:Spell |name = |school= |level = |cost= |components= |metamagic = |range = |target = |duration= |save = |sr = |cooldown= |description = |notes= |soldby= |icon= |link= |dice= |forms= |ischild= }}
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. Elemental Resistance: Fire is only available if you choose Elemental Resistance |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.