Template:Spell: Difference between revisions

From RoDpedia
Jump to navigation Jump to search
Skace (talk | contribs)
No edit summary
Stolichnaya (talk | contribs)
No edit summary
 
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{{description|<div style="color:red;">This spell lacks a proper description.</div>}}}
<includeonly>{{if||{{{helpfile|}}}|{{Header1|Helpfile}}
 
{{{helpfile}}}}}
== Information ==
{{Header1|Information}}
{{ #if: {{{syntax|}}} | * Syntax: {{{syntax}}} | * Syntax: This spell lacks a proper syntax. }}
{{ #if: {{{syntax|}}} | * Syntax: <code>{{{syntax}}}</code> }}<!--
{{ #if: {{{type|}}} | * Type: {{{type}}} | * Type: This spell lacks a proper type. }}
-->{{ #if: {{{type|}}} | * Type: {{{type}}} }}<!--
{{ #if: {{{mana|}}} | * Mana: {{{mana}}} }}
-->{{ #if: {{{target|}}} | * Valid Targets: {{{target}}} }}<!--
{{ #if: {{{blood|}}} | * Blood: {{{blood}}} }}
-->{{ #if: {{{cost|}}} | * Cost: {{{cost}}} }}<!--
{{ #if: {{{mindamage|}}} | {{ #if: {{{maxdamage|}}} | * Damage: {{{mindamage}}} &ndash; {{{maxdamage}}} }} }}
-->{{ #if: {{{damage|}}} | * Damage: {{{damage}}} hitpoints }}<!--
{{ #if: {{{minheal|}}} | {{ #if: {{{maxheal|}}} | * Damage: {{{minheal}}} &ndash; {{{maxheal}}} }} }}
-->{{ #if: {{{heal|}}} | * Heal: {{{heal}}} hitpoints }}<!--
{{ #if: {{{effect|}}} | * Blood: {{{blood}}} }}
-->{{ #if: {{{effect|}}} | * Other Effects: {{{effect}}} }}<!--
{{ #if: {{{stance|}}} | * Blood: {{{blood}}} }}
-->{{ #if: {{{duration|}}} | * Duration: {{{duration}}} | * Duration: Unknown }}<!--
{{ #if: {{{restrictions|}}} | * Blood: {{{blood}}} }}
-->{{ #if: {{{minpos|}}} | * Mininum stance: {{{minpos}}} | * Mininum stance: Unknown }}<!--
 
-->{{ #if: {{{restrictions|}}} | * Restrictions: {{{restrictions}}} }}
{{ #if: {{{yoursuccess|}}} | * Your successful spell message: {{{yoursuccess}}} }}
{{ #if: {{{selfsuccself|}}}{{{selffailself|}}}{{{selfexpire|}}}{{{selfsuccother|}}}{{{selffailother|}}}{{{othersuccself|}}}{{{otherfailself|}}}{{{othersuccother|}}}{{{otherfailother|}}}|
{{ #if: {{{yourfailure|}}} | * Your failed spell message: {{{yourfailure}}} }}
{{Header1|Spell Messages}}
{{ #if: {{{yourexpire|}}} | * Your expired spell message: {{{yourexpire}}} }}
}}<!--
{{ #if: {{{othersuccess|}}} | * Other successful spell message: {{{othersuccess}}} }}
-->{{ #if: {{{selfsuccself|}}} | * When you successfully cast on yourself: <code>{{{selfsuccself}}}</code> }}<!--
{{ #if: {{{otherfailure|}}} | * Other failed spell message: {{{otherfailure}}} }}
-->{{ #if: {{{selffailself|}}} | * When you fail to cast on yourself: <code>{{{selffailself}}}</code> }}<!--
{{ #if: {{{otherexpire|}}} | * Other expired spell message: {{{otherexpire}}} }}
-->{{ #if: {{{selfexpire|}}} | * When the spell expires: <code>{{{selfexpire}}}</code> }}<!--
 
-->{{ #if: {{{selfsuccother|}}} | * When you successfully cast on player A: <code>{{{selfsuccother}}}</code> }}<!--
<noinclude>
-->{{ #if: {{{selffailother|}}} | * When you fail to cast on player A: <code>{{{selffailother}}}</code> }}<!--
Example:
-->{{ #if: {{{othersuccself|}}} | * When player A successfully casts on you: <code>{{{othersuccself}}}</code> }}<!--
{{Spell
-->{{ #if: {{{otherfailself|}}} | * When player A fails to cast on you: <code>{{{otherfailself}}}</code> }}<!--
|description=This is the description
-->{{ #if: {{{othersuccother|}}} | * When player A successfully casts on player B: <code>{{{othersuccother}}}</code> }}<!--
|syntax=This is the syntax
-->{{ #if: {{{otherfailother|}}} | * When player A fails to cast on player B: <code>{{{othersuccother}}}</code> }}
}}
{{ #if: {{{notes|}}}|{{Header1|Notes}}
</noinclude>
{{{notes}}}}}
{{ #if: {{{category|}}} | {{Category|{{{category}}}}} }}
{{if||{{{cats|}}}|{{{cats}}}}}
{{Category|Skills}}
</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:17, 21 September 2015

[edit]

Documentation

Default Template

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

{{Spell
|helpfile = The information from the helpfile, leave a space before each line.
|syntax = Command syntax from help
|type = Type of spell (Attack, Support, Downspell, Curative, Utility, etc)
|target = The valid targets for this spell. Self only, All, Enemies only, Items only, etc.
|cost = Amount of mana or blood or hp required. E.g. 50 mana
|damage = Amount of damage caused (or range)
|heal = Amount of health healed (or range)
|effect = A description of the effects of this spell
|duration = Number of rounds the effect lasts for
|minpos = the MinPos for this skill/spell
|restrictions = Restrictions (Evil only/Path of the Quill/etc)
|selfsuccself = The message for a successful self-cast
|selffailself = The message for a failed self-cast
|selfexpire = The message when the spell expires
|selfsuccother = The message for a successful cast on other
|selffailother = The message for a failed cast on other
|othersuccself = The message for someone's successful cast on you
|otherfailself = The message for someone's failed cast on you
|othersuccother = The message for someone's successful cast on other
|otherfailother = The message for someone's failed cast on other
|notes = Additional comments
}}

Example

Heal

What you enter

{{Spell
|helpfile =
 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 = Curative
|target = All
|cost = 50 mana
|damage = 
|heal = 100
|effect = 
|duration = Instantaneous
|minpos = fighting (aggressive)
|restrictions = 
|selfsuccself = A warm feeling fills your body.
|selffailself = 
|selfexpire = 
|selfsuccother = You lay a hand of healing upon <target>.
|selffailother = 
|othersuccself = A warm feeling fills your body.
|otherfailself = 
|othersuccother = (no message shown)
|otherfailother = 
|notes = Heal is the most widely used healing spell in the game. Only devout clerics can cast Heal.
}}

What it looks like

Helpfile

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: Curative
  • Valid Targets: All
  • Cost: 50 mana
  • Heal: 100 hitpoints
  • Duration: Instantaneous
  • Mininum stance: fighting (aggressive)

Spell Messages

  • When you successfully cast on yourself: A warm feeling fills your body.
  • When you successfully cast on player A: You lay a hand of healing upon <target>.
  • When player A successfully casts on you: A warm feeling fills your body.
  • When player A successfully casts on player B: (no message shown)

Notes

Heal is the most widely used healing spell in the game. Only devout clerics can cast Heal.