Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(further multiple guild updates)
Line 56: Line 56:
{{#switch:{{lc:{{{guild}}}}}
{{#switch:{{lc:{{{guild}}}}}
|bard={{Cat|Planned Bard Enchantes}}
|bard={{Cat|Planned Bard Enchantes}}
|any=
|none=
|none=
|{{cat|Planned {{{guild|}}} Spells}}
|{{#arraymap:{{{guild}}}|,|x|[[Category: Planned x Spells|{{PAGENAME}}]]| }}
}}
}}
}}
}}
Line 65: Line 66:
|bard={{cat|Bard Enchantes}}
|bard={{cat|Bard Enchantes}}
|any=
|any=
|{{cat|{{{guild}}} Spells}}
|{{#arraymap:{{{guild}}}|,|x|[[Category:x Spells|{{PAGENAME}}]]| }}
}}
}}
}}
}}
Line 71: Line 72:
{{#switch: {{lc:{{{spellbook}}}}}
{{#switch: {{lc:{{{spellbook}}}}}
| protection=
| protection=
{{#switch: {{lc:{{{guild|}}}}}
{{#if: {{{guild|}}} | {{#arraymap:{{ucfirst:{{{guild}}}}}|,|x|[[Category: Protection Spellbook (x)|{{PAGENAME}}]]| }}
| empath= {{Cat|Protection Spellbook (Empath)}}
| ranger= {{cat|Protection Spellbook (Ranger)}}
}}
}}
| {{cat|{{{spellbook}}} Spellbook}}
| {{cat|{{{spellbook}}} Spellbook}}

Revision as of 16:35, 10 February 2009


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= <!--manually add links to other spells, if needed-->
|minprep=
|castcap= <!--if unlimited, put "-" -->
|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
}}