Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><!--Adds to the Articles That Are Incomplete category if any non-optional information is missing, unless the spell is planned -->
<includeonly><!--Adds to the Articles That Are Incomplete category if any non-optional information is missing, unless the spell is planned -->
{{#if:
{{#if:
{{#switch: {{lc:{{{planned|}}}}} | yes |y= 1 |
{{#switch: {{lc:{{{planned|}}}}} | yes |y= 1 |}}
}} | {{PlannedSpell {{!}} {{{name|This spell}}} }} |
| {{PlannedSpell {{!}} {{{name|This spell}}}}} |
{{#if:
{{#if:
{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
{{#if:{{{minprep|}}}|
{{#if:{{{minprep|}}}|
{{#if:{{{castcap|}}}|
{{#if:{{{castcap|}}}|
{{#if:{{{validtarget|}}}|
{{#if:{{{validtarget|}}}|
<!-- for "guild" field test only: return non-empty if spellbook = Analogous Patterns; else continue tests -->
<!-- for "guild" field test only: return non-empty if spellbook = Analogous Patterns; else continue tests -->
{{#ifeq:{{lc:{{{guild}}}}}|bard|
{{#ifeq:{{lc:{{{guild}}}}}|bard|
{{#if:{{{enchantebook|}}}|1
{{#if:{{{enchantebook|}}}|1
}}|
}}|
{{#ifeq: {{{spellbook|}}} | Analogous Patterns | 1 |
{{#ifeq: {{{spellbook|}}} | Analogous Patterns | 1 |
{{#if:{{{guild|}}}| 1
{{#if:{{{guild|}}}| 1
}}
}}
}}
}}
}}
Line 22: Line 21:
}}
}}
}}
}}
||{{Incomplete|Some information is missing from the spell infobox below.}}
}}
}}
||{{Incomplete|Some information is missing from the spell infobox below.}}
}}
}}
</includeonly>
</includeonly>

Revision as of 21:49, 6 October 2008



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

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= <!--manually add links to other spells, if needed-->
|minprep=
|castcap=
|validtarget= ignore for enchantes
|desc=
|messaging=
|guild=
|spellbook= ignore for enchantes
|spelltype=
|struct= for enchantes
|prep= for enchantes
|pulse= for enchantes
|duration= for enchantes
|performtype= for enchantes <!--Chanted, sung, instrument type--> 
|enchantebook=for enchantes
|target= yes/no
|held= yes/no
|scroll= yes/no
|planned= yes/no
|tier=first/second/third/fourth/fifth
}}