Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(updated category handling for enchantes)
(further category updates for enchantes)
Line 69: Line 69:
<!-- Categories -->
<!-- Categories -->
<!--do not add categories if it is a planned spell -->
<!--do not add categories if it is a planned spell -->
{{#ifeq:{{lc:{{{guild}}}}}|bard|[[Category:Bard Enchantes|{{PAGENAME}}]]|[[Category:Spells|{{PAGENAME}}]]}}
[[Category:Spells]]{{#switch: {{lc:{{{planned|}}}}}
{{#switch: {{lc:{{{planned|}}}}}
| yes | y={{#if: {{{guild|}}} | [[Category:Planned {{{guild|}}} Spells|{{PAGENAME}}]]}}
| yes | y=
|{{#if: {{{guild|}}} | [[Category:{{{guild}}} Spells|{{PAGENAME}}]]}}
{{#if: {{{guild|}}} |
{{#ifeq:{{lc:{{{guild}}}}}|bard
|[[Category:Planned Bard Enchantes|{{PAGENAME}}]]
|[[Category:Planned {{{guild|}}} Spells|{{PAGENAME}}]]
}}
}}
|{{#if: {{{guild|}}} |
{{#ifeq:{{lc:{{{guild}}}}}|bard|
|[[Category:{{{guild}}} Spells|{{PAGENAME}}]]
}}
}}
{{#if: {{{spellbook|}}} |
{{#if: {{{spellbook|}}} |
{{#switch: {{lc:{{{spellbook}}}}}
{{#switch: {{lc:{{{spellbook}}}}}

Revision as of 17:08, 10 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= <!--links to other spells if needed-->
|minprep=
|castcap=
|validtarget= Self
|desc=
|messaging=
|guild=
|spellbook=
|spelltype=
|target= yes/no
|held= yes/no
|scroll= yes/no
|planned= yes/no
|tier=
}}