Template:Spell: Difference between revisions

From RoDpedia
Jump to navigation Jump to search
Skace (talk | contribs)
No edit summary
Skace (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><!-- Comment fields keep the spacing from breaking in the template!  
<includeonly><!-- Comment fields keep the spacing from breaking in the template!  
-->{{{description|<div style="color:red;">This spell lacks a proper description.</div>}}}
-->{{{description|}}}<!--
 
-->{{Header1|Information}}<!--
== Information == <!--
-->{{ #if: {{{syntax|}}} | * Syntax: {{{syntax}}} | * Syntax: Unknown }}<!--
-->{{ #if: {{{syntax|}}} | * Syntax: {{{syntax}}} | * Syntax: This spell lacks a proper syntax. }}<!--
-->{{ #if: {{{type|}}} | * Type: {{{type}}} | * Type: Unknown }}<!--
-->{{ #if: {{{type|}}} | * Type: {{{type}}} | * Type: This spell lacks a proper type. }}<!--
-->{{ #if: {{{mana|}}} | * Mana: {{{mana}}} }} {{ #if: {{{blood|}}} | * Blood: {{{blood}}} }}<!--
-->{{ #if: {{{mana|}}} | * Mana: {{{mana}}} }} {{ #if: {{{blood|}}} | * Blood: {{{blood}}} }}<!--
-->{{ #if: {{{damage|}}} | * Damage: {{{damage}}} }}<!--
-->{{ #if: {{{damage|}}} | * Damage: {{{damage}}} }}<!--
Line 24: Line 23:
<nowiki>description, syntax, type, mana, damage, heal, effect, stance, restrictions, yoursuccess, yourfailure, yourexpire, othersuccess, otherfailure, otherexpire, notes</nowiki>
<nowiki>description, syntax, type, mana, damage, heal, effect, stance, restrictions, yoursuccess, yourfailure, yourexpire, othersuccess, otherfailure, otherexpire, notes</nowiki>


==Default Template==
When filling out a template, leave a field blank if you don't know that specific item.
<pre>{{Spell
|description = Spell description from help file + any additional information
|syntax = Command syntax from help
|type = Type of spell (Defense/All, Defense/Self, Attack, Utility/Self, etc)
|mana = Amount of mana required (or range)
|damage = Amount of damage caused (or range)
|heal = Amount of health healed (or range)
|effect = Other less obvious effects
|stance = Stance requirements
|restrictions = Restrictions (Evil only/Path of the Quill/etc)
|yoursuccess = Success message when you cast it
|yourfailure = Fail message when you cast it
|yourexpire = Expire message for yourself
|othersuccess = Success message when someone else casts it
|otherfailure = Fail message when someone else fails it
|otherexpire = Expire message for someone else
|notes = Additional comments
}}</pre>
==Example==
==Example==
'''Heal'''
'''Heal'''
===What you enter===
===What you enter===
<pre><nowiki>{{Spell
<pre><nowiki>{{Spell
Line 39: Line 57:
|notes=Heal is the most efficient healing spell in the game.  
|notes=Heal is the most efficient healing spell in the game.  
}}</nowiki></pre>
}}</nowiki></pre>
===What it looks like===
===What it looks like===
{{Spell
{{Spell
Line 52: Line 69:
|notes=Heal is the most efficient healing spell in the game.  
|notes=Heal is the most efficient healing spell in the game.  
}}
}}
</noinclude>
</noinclude>

Revision as of 17:22, 7 July 2008


Variables

description, syntax, type, mana, damage, heal, effect, stance, restrictions, yoursuccess, yourfailure, yourexpire, othersuccess, otherfailure, otherexpire, notes

Default Template

When filling out a template, leave a field blank if you don't know that specific item.

{{Spell
|description = Spell description from help file + any additional information
|syntax = Command syntax from help
|type = Type of spell (Defense/All, Defense/Self, Attack, Utility/Self, etc)
|mana = Amount of mana required (or range)
|damage = Amount of damage caused (or range)
|heal = Amount of health healed (or range)
|effect = Other less obvious effects
|stance = Stance requirements
|restrictions = Restrictions (Evil only/Path of the Quill/etc)
|yoursuccess = Success message when you cast it
|yourfailure = Fail message when you cast it
|yourexpire = Expire message for yourself
|othersuccess = Success message when someone else casts it
|otherfailure = Fail message when someone else fails it
|otherexpire = Expire message for someone else
|notes = Additional comments
}}

Example

Heal

What you enter

{{Spell
|description=Heal is the apex of curative spells for the devout Cleric. Unlike the healing spells of other alignments, heal may be cast on the caster or on another target.
|syntax=cast heal <target>
|type=Defense/All
|mana=
|heal=100
|restrictions=[[Devout]] only
|yoursuccess=A warm feeling fills your body.
|yourfailure=You failed.
|notes=Heal is the most efficient healing spell in the game. 
}}

What it looks like

Heal is the apex of curative spells for the devout Cleric. Unlike the healing spells of other alignments, heal may be cast on the caster or on another target.== Information ==

  • Syntax: cast heal <target>
  • Type: Defense/All
  • Heal: 100
  • Restrictions: Devout only
  • Your successful spell message: A warm feeling fills your body.
  • Your failed spell message: You failed.
== Notes ==Heal is the most efficient healing spell in the game.