Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 51: Line 51:
! style="text-align:left"{{!}}'''Contest Type:'''
! style="text-align:left"{{!}}'''Contest Type:'''
{{!}} colspan=2{{!}}[[Category:Contested Spells| ]]{{#if:{{{offtype|}}} | {{{offtype}}}[[Category:{{{offtype}}} Contest Spells| ]] | <includeonly>[[missing::Infobox entry on offensive contest|''Unknown'']]</includeonly>}} / {{#if:{{{deftype|}}} | {{{deftype}}}[[Category:{{{deftype}}} Contest Spells| ]] | <includeonly>[[missing::Infobox entry on defensive contest|''Unknown'']]</includeonly>}}}}
{{!}} colspan=2{{!}}[[Category:Contested Spells| ]]{{#if:{{{offtype|}}} | {{{offtype}}}[[Category:{{{offtype}}} Contest Spells| ]] | <includeonly>[[missing::Infobox entry on offensive contest|''Unknown'']]</includeonly>}} / {{#if:{{{deftype|}}} | {{{deftype}}}[[Category:{{{deftype}}} Contest Spells| ]] | <includeonly>[[missing::Infobox entry on defensive contest|''Unknown'']]</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| ]]}}
<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| ]]}}
{{#switch: {{lc:{{{status|}}}}}
{{#switch: {{lc:{{{status|}}}}}
|planned | plan=[[in development::true| ]]
|planned | plan=[[in development::true| ]]
Line 107: Line 103:
|enchantebook=for enchantes
|enchantebook=for enchantes
|status= <blank>/planned/obsolete
|status= <blank>/planned/obsolete
}}
}}</pre>
</pre>{{Cat|Templates}}</noinclude>
{{Cat|Templates}}</noinclude>

Revision as of 20:19, 23 January 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
|slots=
|diff=intro/basic/advanced/esoteric
|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
}}