Template:Spell: Difference between revisions
Jump to navigation
Jump to search
(disabled incomplete if planned or obsolete) |
(updated to remove enchante specific parts) |
||
| Line 31: | Line 31: | ||
| 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>}}}} |
||
|- |
|- |
||
! 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>}}}} |
|||
|- |
|||
{{#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>}}}}}} |
|||
|- |
|- |
||
! style="text-align:left"|'''Description:''' |
! style="text-align:left"|'''Description:''' |
||
| Line 43: | Line 40: | ||
| 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>}}}} |
||
|- |
|- |
||
{{# |
{{#if:{{#arraymaptemplate:{{{ctype}}} | Template:SpellCycleCheck|,| }}|! style="text-align:left"{{!}}'''Pulse Timing:''' |
||
{{!}}colspan=2{{!}}{{#if:{{{struct|}}} | {{{struct}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on enchante structure|''Unknown'']]</includeonly>}}}}}} |
|||
|- |
|||
{{#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>}}}}}} |
|||
|- |
|||
{{#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}}}{{{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>}}}}}} |
|||
|} |
|} |
||
<includeonly> |
<includeonly> |
||
<!-- Categories and properties --> |
<!-- 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| ]]| }}}}}} |
[[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 --> |
<!--do not add categories if it is a planned or obsolete spell --> |
||
{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}} |
{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}} |
||
| Line 79: | Line 67: | ||
{{#if: {{{spellbook|}}} |
{{#if: {{{spellbook|}}} |
||
| [[spellbook is::{{{spellbook}}}| ]]{{cat|{{{spellbook}}} Spellbook}} |
| [[spellbook is::{{{spellbook}}}| ]]{{cat|{{{spellbook}}} Spellbook}} |
||
}} |
|||
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|{{cat|Bard Enchantes}}| |
|||
}} |
|||
{{#if: {{{enchantebook|}}} |
|||
| {{cat|{{{enchantebook}}} Spellbook}}[[spellbook is::{{{enchantebook}}}| ]] |
|||
}} |
}} |
||
}} |
}} |
||
<!-- The 'notes' section below is so spell notes are still visible while the individual spell articles are edited to use the new template. Delete when the project is completed. --> |
|||
{{#if: {{{notes|}}} | |
|||
==NOTES== |
|||
{{{notes}}} |}} |
|||
<!-- end section to delete --> |
|||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing. |
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing. |
||
Revision as of 18:30, 23 January 2013
|
|
| 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
|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
}}