Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (test, trying to get Mana Type column to populate results)
m (test, trying to get Mana Type to populate results)
Line 20: Line 20:
|-
|-
! style="text-align:left"{{!}}'''Mana Type:'''
! style="text-align:left"{{!}}'''Mana Type:'''
| colspan=2 {{#switch: {{{magic|}}} | {{#if:{{{magic|}}} | [[magic type is::{{{magic}}}]] | {{#switch:{{lc:{{{magic}}}}}|none=|any=[[magic type is::none| ]][[magic type is::Analagous]][[magic type is::Arcane magic| ]][[magic type is::Elemental magic| ]][[magic type is::Holy magic| ]][[magic type is::Life magic| ]][[magic type is::Lunar magic| ]] |<includeonly>[[missing::Infobox entry on mana type|''Unknown'']]</includeonly>}}}}
| colspan=2 {{Cat|Magic}} | {{#if:{{{magic|}}} | [[magic type is::{{{magic}}}]] | {{#switch:{{lc:{{{magic}}}}}|none=|any=[[magic type is::none| ]][[magic type is::Analagous]][[magic type is::Arcane magic| ]][[magic type is::Elemental magic| ]][[magic type is::Holy magic| ]][[magic type is::Life magic| ]][[magic type is::Lunar magic| ]] |<includeonly>[[missing::Infobox entry on mana type|''Unknown'']]</includeonly>}}}}
|-
|-
! style="text-align:left"{{!}}'''Spell Type:'''
! style="text-align:left"{{!}}'''Spell Type:'''

Revision as of 22:49, 22 September 2018


Spell
Abbreviation:
Prerequisites:
Slot Cost:
Mana Type: colspan=2 |
Spell Type: /
Difficulty:
Prep (min/max): /
Skill Range (min/max): /
Valid Spell Target:
Duration (min/max):
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-->
|minduration= in roisaen. If the spell is instant enter '-'
|maxduration= in roisaen.
|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=
|magic=Analogous/Arcane magic/Elemental magic/Holy magic/Life magic/Lunar magic
|ctype=standard/battle/cyclic/ritual/feat (use commas if more than one)
|type=augmentation/debilitation/targeted/utility/warding/multistrike/pulse damage/area of effect/pulse to group/death from above (use commas if more than one)
|status= <blank>/planned/obsolete
}}