Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (bugfix)
(added handling for non-guild spells)
Line 73: Line 73:
| yes | y=
| yes | y=
{{#if: {{{guild|}}} |
{{#if: {{{guild|}}} |
{{#ifeq:{{lc:{{{guild}}}}}|bard
{{#switch:{{lc:{{{guild}}}}}
|[[Category:Planned Bard Enchantes|{{PAGENAME}}]]
|bard=[[Category:Planned Bard Enchantes|{{PAGENAME}}]]
|none=
|[[Category:Planned {{{guild|}}} Spells|{{PAGENAME}}]]
|[[Category:Planned {{{guild|}}} Spells|{{PAGENAME}}]]
}}
}}
}}
}}
|{{#if: {{{guild|}}} |
|{{#if: {{{guild|}}} |
{{#ifeq:{{lc:{{{guild}}}}}|bard|[[Category:Bard Enchantes|{{PAGENAME}}]]
{{#switch:{{lc:{{{guild}}}}}
|bard=[[Category:Bard Enchantes|{{PAGENAME}}]]
|none=
|[[Category:{{{guild}}} Spells|{{PAGENAME}}]]
|[[Category:{{{guild}}} Spells|{{PAGENAME}}]]
}}
}}

Revision as of 04:28, 14 July 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= <!--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
}}