Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
! style="text-align:left"{{!}}'''Difficulty:'''
! style="text-align:left"{{!}}'''Difficulty:'''
{{!}} colspan=2{{!}}{{#if:{{{diff|}}} | [[ability difficulty is::{{{diff}}}]]{{cat|{{{diff}}} Abilities}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}}}}
{{!}} colspan=2{{!}}{{#if:{{{diff|}}} | [[ability difficulty is::{{{diff}}}]]{{cat|{{{diff}}} abilities}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}}}}
{{!}}-
{{!}}-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
Line 54: Line 54:
{{#if:{{{offtype|}}}{{{deftype|}}}|
{{#if:{{{offtype|}}}{{{deftype|}}}|
! style="text-align:left"{{!}}'''Contest Type:'''
! style="text-align:left"{{!}}'''Contest Type:'''
{{!}} colspan=2{{!}}[[Category:Contested Abilities| ]]{{#if:{{{offtype|}}} | [[offensive contest is::{{{offtype}}}]][[Category:{{{offtype}}} Contest Abilities| ]] | <includeonly>[[missing::Infobox entry on offensive contest|''Unknown'']]</includeonly>}} / {{#if:{{{deftype|}}} | [[defensive contest is::{{{deftype}}}]][[Category:{{{deftype}}} Contest Abilities| ]] | <includeonly>[[missing::Infobox entry on defensive contest|''Unknown'']]</includeonly>}}}}
{{!}} colspan=2{{!}}[[Category:Contested abilities| ]]{{#if:{{{offtype|}}} | [[offensive contest is::{{{offtype}}}]][[Category:{{{offtype}}} contest abilities| ]] | <includeonly>[[missing::Infobox entry on offensive contest|''Unknown'']]</includeonly>}} / {{#if:{{{deftype|}}} | [[defensive contest is::{{{deftype}}}]][[Category:{{{deftype}}} contest abilities| ]] | <includeonly>[[missing::Infobox entry on defensive contest|''Unknown'']]</includeonly>}}}}
|}<includeonly>
|}<includeonly>
<!-- Categories and properties -->[[page type is::spell| ]]{{Cat|Spells}}{{#if:{{{guild|}}}|{{#switch:{{lc:{{{guild}}}}}|none=|any=[[guild association is::none| ]]<!--[[guild association is::bard| ]][[guild association is::cleric| ]][[guild association is::empath| ]][[guild association is::moon mage| ]][[guild association is::necromancer| ]][[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::none| ]]<!--[[guild association is::bard| ]][[guild association is::cleric| ]][[guild association is::empath| ]][[guild association is::moon mage| ]][[guild association is::necromancer| ]][[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| ]]}}

Revision as of 16:00, 18 December 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 only/quest <!--Standard = Learned from guildleader. Scroll Only= Found only on scrolls. Quest = Learned from a quest-->
|pulse= for cyclics
|desc=
|effect=shorthand version of effect. e.g +evasion. Do not include links. 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/multistrike/area of effect/pulse to group/death from above (use commas if more than one)
|status= <blank>/planned/obsolete
}}