Template:Spell: Difference between revisions
Jump to navigation
Jump to search
Adding a different way to notate what spell messages are received. (trial) |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{{ | <includeonly>{{if||{{{helpfile|}}}| {{Header1|Helpfile}}{{{helpfile}}}}}<!-- | ||
-->{{Header1|Information}}<!-- | -->{{Header1|Information}}<!-- | ||
-->{{ #if: {{{syntax|}}} | * Syntax: {{{syntax}}} | * Syntax: Unknown }}<!-- | -->{{ #if: {{{syntax|}}} | * Syntax: <code>{{{syntax}}}</code> | * Syntax: Unknown }}<!-- | ||
-->{{ #if: {{{type|}}} | * Type: {{{type}}} | * Type: Unknown }}<!-- | -->{{ #if: {{{type|}}} | * Type: {{{type}}} | * Type: Unknown }}<!-- | ||
-->{{ #if: {{{targets|}}} | * Valid Targets: {{{target}}} | * Valid Targets: Unknown }}<!-- | |||
-->{{ #if: {{{mana|}}} | * Mana: {{{mana}}} }} {{ #if: {{{blood|}}} | * Blood: {{{blood}}} }}<!-- | -->{{ #if: {{{mana|}}} | * Mana: {{{mana}}} }} {{ #if: {{{blood|}}} | * Blood: {{{blood}}} }}<!-- | ||
-->{{ #if: {{{damage|}}} | * Damage: {{{damage}}} }}<!-- | -->{{ #if: {{{damage|}}} | * Damage: {{{damage}}} }}<!-- | ||
-->{{ #if: {{{heal|}}} | * Heal: {{{heal}}} }}<!-- | -->{{ #if: {{{heal|}}} | * Heal: {{{heal}}} }}<!-- | ||
-->{{ #if: {{{effect|}}} | * Effect: {{{effect}}} }}<!-- | -->{{ #if: {{{effect|}}} | * Effect: {{{effect}}} | * Effect: (to be described) }}<!-- | ||
-->{{ #if: {{{duration|}}} | * Duration: {{{duration | -->{{ #if: {{{duration|}}} | * Duration: {{{duration}}} | * Duration: Unknown }}<!-- | ||
-->{{ #if: {{{minpos|}}} | * Mininum stance: {{{minpos}}} | * Mininum stance: Unknown }}<!-- | |||
-->{{ #if: {{{ | -->{{ #if: {{{restrictions|}}} | * Restrictions: {{{restrictions}}} | * Restrictions: None }}<!-- | ||
-->{{ #if: {{{ | |||
-->{{Header1|Spell Messages}}<!-- | -->{{Header1|Spell Messages}}<!-- | ||
-->{{ #if: {{{selfsuccself|}}} | * When you successfully cast on yourself: <code>{{{selfsuccself}}}</code> | -->{{ #if: {{{selfsuccself|}}} | * When you successfully cast on yourself: <code>{{{selfsuccself}}}</code> }}<!-- | ||
-->{{ #if: {{{selffailself|}}} | * When you fail to cast on yourself: <code>{{{selffailself}}}</code> | -->{{ #if: {{{selffailself|}}} | * When you fail to cast on yourself: <code>{{{selffailself}}}</code> }}<!-- | ||
-->{{ #if: {{{selfsuccother|}}} | * When you successfully cast on A: <code>{{{selfsuccother}}}</code> | -->{{ #if: {{{selfsuccother|}}} | * When you successfully cast on A: <code>{{{selfsuccother}}}</code> }}<!-- | ||
-->{{ #if: {{{selffailother|}}} | * When you fail to cast on somebody: <code>{{{selffailother}}}</code> | -->{{ #if: {{{selffailother|}}} | * When you fail to cast on somebody: <code>{{{selffailother}}}</code> }}<!-- | ||
-->{{ #if: {{{othersuccself|}}} | * When somebody successfully casts on you: <code>{{{othersuccself}}}</code> | -->{{ #if: {{{othersuccself|}}} | * When somebody successfully casts on you: <code>{{{othersuccself}}}</code> }}<!-- | ||
-->{{ #if: {{{otherfailself|}}} | * When somebody fails to cast on you: <code>{{{otherfailself}}}</code> | -->{{ #if: {{{otherfailself|}}} | * When somebody fails to cast on you: <code>{{{otherfailself}}}</code> }}<!-- | ||
-->{{ #if: {{{othersuccother|}}} | * When somebody successfully casts on somebody else: <code>{{{othersuccother}}}</code> | -->{{ #if: {{{othersuccother|}}} | * When somebody successfully casts on somebody else: <code>{{{othersuccother}}}</code> }}<!-- | ||
-->{{ #if: {{{otherfailother|}}} | * When somebody fails to cast on somebody else: <code>{{{othersuccother}}}</code> | -->{{ #if: {{{otherfailother|}}} | * When somebody fails to cast on somebody else: <code>{{{othersuccother}}}</code> }}<!-- | ||
-->{{if||{{{notes|}}}| {{Header1|Notes}}{{{notes}}}}}<!-- | -->{{if||{{{notes|}}}| {{Header1|Notes}}{{{notes}}}}}<!-- | ||
-->{{{category|[[Category:Skills]]}}}<!-- | -->{{{category|[[Category:Skills]]}}}<!-- | ||
--></includeonly><noinclude>{{documentation}}</noinclude> | --></includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 07:05, 10 November 2010
[edit]
DocumentationDefault 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: Unknown
- Heal: 100
- Effect: (to be described)
- Duration: Instantaneous
- Mininum stance: fighting (aggressive)
- Restrictions: None== Spell Messages ==
- When you successfully cast on yourself:
A warm feeling fills your body. - When you successfully cast on A:
You lay a hand of healing upon <target>. - When somebody successfully casts on you:
A warm feeling fills your body. - When somebody successfully casts on somebody else:
(no message shown)