Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(bugfix)
(bugfix)
Line 80: Line 80:
| {{cat|{{{enchantebook}}}}}
| {{cat|{{{enchantebook}}}}}
}}
}}
{{#if: {{{spelltype|}}} | {{#arraymap:{{lc:{{{spelltype}}}{{#if: {{{spelltype2|}}} | ,{{{spelltype2}}}}}{{#if: {{{spelltype3|}}} | ,{{{spelltype3}}}}}}} | , | x | [[Category:x Spells]][[spell type is::x| ]]| }} | {{#switch: {{lc:{{{planned|}}}}} | yes |y= |[[missing::Infobox entry on spell type| ]]}}}}
{{#if: {{{spelltype|}}} | {{#arraymap:{{{spelltype}}}{{#if: {{{spelltype2|}}} | ,{{{spelltype2}}}}}{{#if: {{{spelltype3|}}} | ,{{{spelltype3}}}}} | , | x | [[Category:x Spells]][[spell type is::x| ]]| }} | {{#switch: {{lc:{{{planned|}}}}} | yes |y= |[[missing::Infobox entry on spell type| ]]}}}}
{{#switch: {{lc:{{{held}}}}} | yes | y={{cat|Held Mana Spells}}
{{#switch: {{lc:{{{held}}}}} | yes | y={{cat|Held Mana Spells}}
}}
}}

Revision as of 11:22, 11 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
}}