Difference between revisions of "Template:Spell"

From DDO Compendium
m (formatting)
 
(18 intermediate revisions by 2 users not shown)
Line 117: Line 117:
|crimsonite={{ColorText|Red|Crimsonite}}
|crimsonite={{ColorText|Red|Crimsonite}}
|gildleaf={{ColorText|Yellow|Gildleaf}}
|gildleaf={{ColorText|Yellow|Gildleaf}}
|ceruleite ={{ColorText|Blue|Ceruleite }}}}<br>}}{{#if: {{{duration|}}}|'''Duration:''' {{{duration|}}}<br>}}{{#if: {{{cooldown|}}}|{{{cooldown|}}}<br>}}'''Save:''' {{#if: {{{save|}}}|{{{save}}}|None}}<br>
|ceruleite ={{ColorText|Blue|Ceruleite}}}}<br>}}{{#if: {{{duration|}}}|'''Duration:''' {{{duration|}}}<br>}}{{#if: {{{cooldown|}}}|{{{cooldown|}}}<br>}}'''Save:''' {{#if: {{{save|}}}|{{{save}}}|None}}<br>{{#if: {{{school|}}}|'''School:'''&nbsp;{{{school}}}<br>|}}'''Spell Resistance:''' {{#if: {{{sr|}}}|{{{sr}}}|No}}{{#if: {{{dice|}}}|<br><br>'''D&D Dice:''' {{{dice}}}}}</td>
{{#if: {{{school|}}}|'''School:'''&nbsp;{{{school}}}<br>|}}
'''Spell Resistance:''' {{#if: {{{sr|}}}|{{{sr}}}|No}}{{#if: {{{dice|}}}|<br><br>'''D&D Dice:''' {{{dice}}}}}</td>
</tr>
</tr>
</table>
</table>
Line 136: Line 134:
{{{soldby}}}}}{{#if: {{{parent|}}}|
{{{soldby}}}}}{{#if: {{{parent|}}}|


<br>'''Parent:''' {{{parent}}}<br>''This spell is only available from the parent''}}
<br>'''Parent:''' {{{parent}}}<br>''This spell is only available from the parent''}}</td>
</tr>{{#dpl:
|resultsheader=<tr><td class="extra-details">'''Spell-Like Ability Enhancements:'''<div style="-webkit-column-count:2;column-count:2;">
|resultsfooter=</div></td></tr>
|noresultsheader=&nbsp;
|linksto={{ARTICLEPAGENAME}}
|uses=Template:EnhItem¦Template:EnhItemSelectorOption
}}{{#dpl:
|resultsheader=<tr><td class="extra-details">'''Found on:'''<div style="-webkit-column-count:2;column-count:2;">
|resultsfooter=</div></td></tr>
|noresultsheader=&nbsp;
|linksto={{ARTICLEPAGENAME}}
|category=Clickie Items
}}{{#dpl:
|resultsheader=<tr><td class="extra-details">'''Found on:'''<div style="-webkit-column-count:2;column-count:2;">
|resultsfooter=</div></td></tr>
|noresultsheader=&nbsp;
|linksto={{ARTICLEPAGENAME}}
|uses=Template:RuneArm
}}{{#dpl:
|resultsheader=<tr><td class="extra-details">'''Hirelings:'''<div style="-webkit-column-count:2;column-count:2;">
|resultsfooter=</div></td></tr>
|noresultsheader=&nbsp;
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Hireling
}}</table>
</td>
</td>
</tr>
</tr>
</table>
</table>{{#ifeq:{{#pos:{{lc:{{{description}}}}}|light and alignment spell power}}|||[[Category:Spells that boost Light and Alignment Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|alignment and light spell power}}|||[[Category:Spells that boost Light and Alignment Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|universal spell power}}|||[[Category:Spells that boost Universal Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|cold spell power}}|||[[Category:Spells that boost Cold Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|fire spell power}}|||[[Category:Spells that boost Fire Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|repair and rust spell power}}|||[[Category:Spells that boost Repair and Rust Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|rust and repair spell power}}|||[[Category:Spells that boost Repair and Rust Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|electric spell power}}|||[[Category:Spells that boost Electric Spell Power]]|}}{{#ifeq:{{#pos:{{lc:{{{description}}}}}|force spell power}}|||[[Category:Spells that boost Force Spell Power]][[Category:Spells that boost Physical and Untyped Spell Damage]]|}}</includeonly>
</td>
</tr>
</table>
</includeonly>

Latest revision as of 12:49, 1 November 2022

{{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
nameThe name of the spell.
schoolEnter the school this spell is in, using Template:SpellSchool
levelEnter the class levels needed, using Template:SpellLevel
costThe cost, whether in Spell Points, Hit Points, or some other. Use Template:SpellCost
componentsThe components that are needed to cast this spell. Use Template:SpellComponent
metamagicWhich metamagics work on this spell. Use Template:SpellMeta
rangeWhat is the range for this spell. Use Template:SpellRange
targetWhat targets are used by the spell. Use Template:SpellTarget
durationHow long the spell lasts. Use Template:SpellDuration
saveDescribe a save that could be done
srDescribe any spell resistanace
cooldownHow long before the next time you can cast the spell. . Use Template:SpellCooldown
descriptionEnter the description of what this spell does,
notesOptional, adds notes to the spell, put bugs if any in here
soldbyA bulleted list of vendors that sell this. Use Template:PageLink
iconThe name of the image to use. There is a default, so this should only be used if the default doesn't make sense
linkThe name of the page that this is on. Used by DPL
diceThe information about the D&D Dice damage/healing.
formsThis is the list of valid forms for the spell. Use Template:SpellForm
parentSet 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
childrenThis should contain a bullited list of spells that are children of this one. Use Template:SpellChild
primerWhich primer element is this spell in
Possible Values:
  • Crimsonite
  • Gildleaf
  • Ceruleite

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.