Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
Line 53: Line 53:
|}<includeonly>
|}<includeonly>
<!-- Categories and properties -->[[page type is::spell| ]]{{Cat|Spells}}{{#if:{{{guild|}}}|{{#switch:{{lc:{{{guild}}}}}|none=|any=[[guild association is::bard| ]][[guild association is::cleric| ]][[guild association is::empath| ]][[guild association is::moon mage| ]][[guild association is::paladin| ]][[guild association is::ranger| ]][[guild association is::warrior mage| ]]|{{#arraymap:{{lc:{{{guild}}}}}|,|x|[[guild association is::x| ]]| }}}}}}<!--do not add categories if it is a planned or obsolete spell -->{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}}
<!-- Categories and properties -->[[page type is::spell| ]]{{Cat|Spells}}{{#if:{{{guild|}}}|{{#switch:{{lc:{{{guild}}}}}|none=|any=[[guild association is::bard| ]][[guild association is::cleric| ]][[guild association is::empath| ]][[guild association is::moon mage| ]][[guild association is::paladin| ]][[guild association is::ranger| ]][[guild association is::warrior mage| ]]|{{#arraymap:{{lc:{{{guild}}}}}|,|x|[[guild association is::x| ]]| }}}}}}<!--do not add categories if it is a planned or obsolete spell -->{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}}
{{#switch: {{lc:{{{status|}}}}}
{{#switch:{{lc:{{{status|}}}}}
|planned | plan=[[in development::true| ]]
|planned|plan=[[in development::true| ]]
{{#if: {{{guild|}}}
{{#if:{{{guild|}}}
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category: Planned @@@@ Spells|{{PAGENAME}}]]| }}
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category: Planned @@@@ Spells|{{PAGENAME}}]]| }}
}}
}}
|obsolete | obs={{cat|Obsolete Spells}}
|obsolete|obs={{cat|Obsolete Spells}}
|{{#if: {{{guild|}}} |
|{{#if:{{{guild|}}}|
{{#switch:{{lc:{{{guild}}}}}
{{#switch:{{lc:{{{guild}}}}}
|none=
|none|any=
|any=
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category:@@@@ Spells|{{PAGENAME}}]]| }}
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category:@@@@ Spells|{{PAGENAME}}]]| }}
}}
}}

Revision as of 15:54, 9 June 2014


Spell
Abbreviation:
Prerequisites:
Slot Cost:
Type: /
Difficulty:
Prep (min/max): /
Valid Spell Target:
Description:
Effect:
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
|sig=<blank>/y/yes/t/true
|slots=
|diff=intro/basic/advanced/esoteric
|source=standard/scroll/scroll only/quest <!--Standard = only from GL. Scroll = from either scroll or GL-->
|desc=
|messaging=
|guild=
|ctype=standard/battle/cyclic/ritual/feat (use commas if more than one)
|type=augmentation/debilitation/targeted/utility/warding (use commas if more than one)
|struct= for enchantes
|prep= for enchantes
|pulse= for enchantes
|duration= for enchantes
|performtype= for enchantes <!--Chanted, sung, instrument type--> 
|enchantebook=for enchantes
|status= <blank>/planned/obsolete
}}