Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(oops... rolled back too far)
No edit summary
Line 7: Line 7:
{{#if:{{{castcap|}}}|
{{#if:{{{castcap|}}}|
{{#if:{{{validtarget|}}}|
{{#if:{{{validtarget|}}}|
<!-- for "guild" field test only: return non-empty if spellbook = Analogous Patterns; else continue tests -->
{{#if:{{{guild|}}}|
{{#if: {{#ifeq: {{{spellbook|}}} | Analogous Patterns | x | {{#if:{{{guild|}}}| x }}
}}|
{{#if:{{{spellbook|}}}|1
{{#if:{{{spellbook|}}}|1
}}
}}

Revision as of 12:27, 10 May 2008



Spell Infobox
Abbreviation:
Prerequisites:
Minimum Prep:
Casting Cap:
Valid Spell Target:
Description:
Example Messaging:


This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing.

Usage

When making a new spell article, copy the text below into the edit window and fill in the parameter values as appropriate.

{{spell
|name=
|abbrev= 
|prereqs= <!--links to other spells if needed-->
|minprep=
|castcap=
|validtarget= Self
|desc=
|messaging=
|guild=
|spellbook=
|spelltype=
|target= yes/no
|held= yes/no
|scroll= yes/no
|planned= yes/no
}}