Difference between revisions of "Template:Spell"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 21: | Line 21: | ||
|dice= | |dice= | ||
|forms= | |forms= | ||
|ischild= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 80: | 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 = ischild | |||
|parameter20description = Set this to true if the spell is only available if you choose another spell. I.E. [[Elemental Resistance: Fire]] is only available if you choose [[Elemental Resistance]] | |||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#dplvar:set|spellischild|{{{ischild|}}}}} | ||
{{SpellsHeader}}<br> | {{SpellsHeader}}<br> | ||
<table class="item-table background-color"> | <table class="item-table background-color"> |
Revision as of 01:59, 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 |
ischild | Set this to true if the spell is only available if you choose another spell. 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.