Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 81: Line 81:
| {{cat|{{{enchantebook}}}}}
| {{cat|{{{enchantebook}}}}}
}}
}}
{{#arraymap:{{lc:{{#if: {{{spelltype|}}} | {{{spelltype}}} | {{#switch: {{lc:{{{planned|}}}}} | yes |y= |<includeonly>[[missing::Infobox entry on spell type| ]]</includeonly>}}}}{{#if: {{{spelltype2|}}} | ,{{{spelltype2}}}}}{{#if: {{{spelltype3|}}} | ,{{{spelltype3}}}}}}} | , | x | [[Category:x Spells]][[spell type is::x| ]]}}
{{#arraymap:{{lc:{{#if: {{{spelltype|}}} | {{{spelltype}}} | {{#switch: {{lc:{{{planned|}}}}} | yes |y= |[[missing::Infobox entry on spell type| ]]}}}}{{#if: {{{spelltype2|}}} | ,{{{spelltype2}}}}}{{#if: {{{spelltype3|}}} | ,{{{spelltype3}}}}}}} | , | x | [[Category:x Spells]][[spell type is::x| ]]}}
{{#switch: {{lc:{{{held}}}}} | yes | y={{cat|Held Mana Spells}}
{{#switch: {{lc:{{{held}}}}} | yes | y={{cat|Held Mana Spells}}
}}
}}

Revision as of 16:25, 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
}}