Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(testing for metamagic suppression of fields)
No edit summary
Line 26: Line 26:
{{!}} colspan=2{{!}}{{#if:{{{diff|}}} | [[spell difficulty is::{{{diff}}}]]{{cat|{{{diff}}} Spells}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}}}}
{{!}} colspan=2{{!}}{{#if:{{{diff|}}} | [[spell difficulty is::{{{diff}}}]]{{cat|{{{diff}}} Spells}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}}}}
{{!}}-
{{!}}-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
! style="text-align:left"{{!}}'''Prep (min/max):'''
! style="text-align:left"{{!}}'''Prep (min/max):'''
{{!}} colspan=2{{!}}{{#if:{{{minprep|}}} | [[minimum prep is::{{{minprep}}}]] | [[minimum prep is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum prepare|''Unknown'']]</includeonly>}}}} / {{#if:{{{castcap|}}} | {{#switch: {{{castcap}}} | -=Unlimited[[casting cap is::1000| ]] | [[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}}}]] | [[minimum prep is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum prepare|''Unknown'']]</includeonly>}}}} / {{#if:{{{castcap|}}} | {{#switch: {{{castcap}}} | -=Unlimited[[casting cap is::1000| ]] | [[casting cap is::{{{castcap}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on casting cap|''Unknown'']]</includeonly>}}}}}}
{{!}}-
{{!}}-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
! style="text-align:left"{{!}}'''Skill Range (min/max):'''
! style="text-align:left"{{!}}'''Skill Range (min/max):'''
{{!}} colspan=2{{!}}{{#if:{{{minskill|}}} | [[minimum skill is::{{{minskill}}}]] | [[minimum skill is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum skill|''Unknown'']]</includeonly>}}}} / {{#if:{{{maxskill|}}} | [[maximum skill is::{{{maxskill}}}]] | [[maximum skill is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on maximum skill|''Unknown'']]</includeonly>}}}}
{{!}} colspan=2{{!}}{{#if:{{{minskill|}}} | [[minimum skill is::{{{minskill}}}]] | [[minimum skill is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum skill|''Unknown'']]</includeonly>}}}} / {{#if:{{{maxskill|}}} | [[maximum skill is::{{{maxskill}}}]] | [[maximum skill is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on maximum skill|''Unknown'']]</includeonly>}}}}}}
{{!}}-
{{!}}-
{{#ifeq:{{{validtarget}}} | - | |
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | {{#ifeq:{{{validtarget}}} | - | |
! style="text-align:left"{{!}}'''Valid Spell Target:'''
! 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>}}}}}}
{{!}}-}}
{{!}}-}}
{{#if:{{IfMatch|cyclic|{{{ctype}}}}}|! style="text-align:left"{{!}}'''Pulse Timing:'''
{{#if:{{IfMatch|cyclic|{{{ctype}}}}}|! style="text-align:left"{{!}}'''Pulse Timing:'''

Revision as of 10:09, 29 June 2014


Spell
Abbreviation:
Prerequisites:
Slot Cost:
Type: /
Difficulty:
Prep (min/max): /
Skill Range (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= <!--if no abbreviation then put "-" -->
|prereqs= <!--manually add links to other spells, if needed-->
|minprep=
|castcap= <!--if unlimited, put "-" -->
|minskill= <!--as per DISCERN-->
|maxskill= <!--as per DISCERN-->
|validtarget=self/pc/creature/group/area/item/special
|sig=<blank>/y/yes/t/true
|slot=
|diff=intro/basic/advanced/esoteric
|source=standard/scroll/scroll only/quest <!--Standard = only from GL. Scroll = from either scroll or GL-->
|desc=
|effect=shorthand version of effect. e.g +evasion. Full effect should go in the ==Notes== below the template.
|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
}}