Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
| colspan=2|{{#if:{{{minprep|}}} | [[minimum prep is::{{{minprep}}}]] | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum prepare|''Unknown'']]</includeonly>}}}} / {{#if:{{{castcap|}}} | {{#ifeq: {{{castcap}}} | - | Unlimited | [[casting cap is::{{{castcap}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on casting cap|''Unknown'']]</includeonly>}}}}
| colspan=2|{{#if:{{{minprep|}}} | [[minimum prep is::{{{minprep}}}]] | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum prepare|''Unknown'']]</includeonly>}}}} / {{#if:{{{castcap|}}} | {{#ifeq: {{{castcap}}} | - | Unlimited | [[casting cap is::{{{castcap}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on casting cap|''Unknown'']]</includeonly>}}}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Performance Type:'''
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Performance Type:'''
{{!}}colspan=2{{!}}{{#if: {{{performtype|}}} | {{{performtype|}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on performance type|''Unknown'']]</includeonly>}}}}}}
{{!}}colspan=2{{!}}{{#if: {{{performtype|}}} | {{{performtype|}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on performance type|''Unknown'']]</includeonly>}}}}}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}}}|bard||! style="text-align:left"{{!}}'''Valid Spell Target:'''
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic||! style="text-align:left"{{!}}'''Valid Spell Target:'''
{{!}}colspan=2{{!}}{{#if:{{{validtarget|}}} | {{{validtarget}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on valid target|''Unknown'']]</includeonly>}}}}}}
{{!}}colspan=2{{!}}{{#if:{{{validtarget|}}} | {{{validtarget}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on valid target|''Unknown'']]</includeonly>}}}}}}
|-
|-
Line 39: Line 39:
| colspan=2|{{#if:{{{messaging|}}} | {{{messaging}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on messaging|''Unknown'']]</includeonly>}}}}
| colspan=2|{{#if:{{{messaging|}}} | {{{messaging}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on messaging|''Unknown'']]</includeonly>}}}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Enchante Structure:'''
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Enchante Structure:'''
{{!}}colspan=2{{!}}{{#if:{{{struct|}}} | {{{struct}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on enchante structure|''Unknown'']]</includeonly>}}}}}}
{{!}}colspan=2{{!}}{{#if:{{{struct|}}} | {{{struct}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on enchante structure|''Unknown'']]</includeonly>}}}}}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Prep Time:'''
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Prep Time:'''
{{!}}colspan=2{{!}}{{#if:{{{prep|}}} | {{{prep}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on prep time|''Unknown'']]</includeonly>}}}}}}
{{!}}colspan=2{{!}}{{#if:{{{prep|}}} | {{{prep}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on prep time|''Unknown'']]</includeonly>}}}}}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Pulse Timing:'''
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Pulse Timing:'''
{{!}}colspan=2{{!}}{{#if:{{{pulse|}}} | {{{pulse}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on pulse timing|''Unknown'']]</includeonly>}}}}}}
{{!}}colspan=2{{!}}{{#if:{{{pulse|}}} | {{{pulse}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on pulse timing|''Unknown'']]</includeonly>}}}}}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Enchante Duration:'''
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Enchante Duration:'''
{{!}}colspan=2{{!}}{{#if:{{{duration|}}} | {{{duration}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on enchante duration|''Unknown'']]</includeonly>}}}}}}
{{!}}colspan=2{{!}}{{#if:{{{duration|}}} | {{{duration}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on enchante duration|''Unknown'']]</includeonly>}}}}}}
|}
|}
<includeonly>
<includeonly>
<!-- Categories -->
<!-- Categories -->
[[page type is::spell| ]]{{#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| ]]| }}}}}}{{#ifeq:{{lc:{{{guild}}}}}|bard|[[has default form::Form:Enchante| ]]}}
[[page type is::spell| ]]{{#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| ]]| }}}}}}{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|[[has default form::Form:Enchante| ]]}}
<!--do not add categories if it is a planned or obsolete spell -->
<!--do not add categories if it is a planned or obsolete spell -->
{{#ifeq:{{lc:{{{guild}}}}}|bard|{{cat|Bard Enchantes}}|{{cat|Spells}}
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|{{cat|Bard Enchantes}}|{{cat|Spells}}
}}
}}
{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}}
{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}}
Line 72: Line 72:
{{#switch:{{lc:{{{guild}}}}}
{{#switch:{{lc:{{{guild}}}}}
|none=
|none=
|bard={{cat|Bard Enchantes}}
|any=
|any=
|{{#arraymap:{{{guild}}}|,|x|[[Category:x Spells|{{PAGENAME}}]]| }}
|{{#arraymap:{{{guild}}}|,|x|[[Category:x Spells|{{PAGENAME}}]]| }}

Revision as of 02:17, 20 November 2012


Spell
Abbreviation:
Prerequisites:
Slot Cost:
Type: /
Difficulty:
Prep (min/max): /
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
|slots=
|diff=intro/basic/advanced/esoteric
|desc=
|messaging=
|guild=
|spellbook= ignore for enchantes
|type=standard/battle/cyclic/ritual/feat
|ctype=augmentation/debilitation/targeted/utility/warding
|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
}}