Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(testing)
m (added "Valid target is" property to validtarget value)
Line 40: Line 40:
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | {{#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|}}} | [[Valid target is::{{{validtarget}}}]] | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on valid target|''Unknown'']]</includeonly>}}}}}}
{{!}}-}}
{{!}}-}}
{{#switch:{{{minduration}}}|=-|{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
{{#switch:{{{minduration}}}|=-|{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |

Revision as of 00:39, 9 August 2021


Spell
Abbreviation:
Prerequisites:
Slot Cost:
Mana Type:
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 Patterns/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
}}