Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(test - adding signature to table view)
No edit summary
Line 21: Line 21:
! style="text-align:left"|'''Slot Cost:'''
! style="text-align:left"|'''Slot Cost:'''
| colspan=2|{{#if:{{{slot|}}} | [[slot cost is::{{{slot}}}]] | <includeonly>[[missing::Infobox entry on slot cost|''Unknown'']]</includeonly>}}
| colspan=2|{{#if:{{{slot|}}} | [[slot cost is::{{{slot}}}]] | <includeonly>[[missing::Infobox entry on slot cost|''Unknown'']]</includeonly>}}
|-
{{#switch:{{lc:{{{wardslot}}}}}|0-slot|1-slot=
! style="text-align:left" {{!}} '''Ward Slots:'''
{{!}} colspan="2" {{!}} {{#switch: {{lc:{{{sig}}}}} | y | yes | t | true = This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot when cast by {{{guild}}}s. | #default = This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot when cast by {{#ifeq:{{{guild}}}|Any|anyone.|{{{guild}}}s, {{#ifeq:{{{wardslot}}}|0-slot|1|2}} ward slots for everyone else.}}}} {{Cat|Spells using warding slots}}[[ward slot spell::true| ]][[ward slot cost::{{#ifeq:{{{wardslot}}}|0-slot|0|1}}| ]]||[[ward slot spell::false| ]]}}
|-
|-
! style="text-align:left"{{!}}'''Mana Type:'''
! style="text-align:left"{{!}}'''Mana Type:'''
Line 57: Line 61:
! style="text-align:left"|'''Effect:'''
! style="text-align:left"|'''Effect:'''
| colspan=2|{{#if:{{{buffs|}}}{{{debuffs|}}}{{{effect|}}}{{{dtype|}}}{{{htype|}}} | {{#if:{{{effect|}}} | [[ability effect is::{{effect|{{{buffs}}}|{{{debuffs}}}|{{{dtype}}}|{{{htype}}}|{{{effect}}}}}]] | [[ability effect is::{{effect|{{{buffs}}}|{{{debuffs}}}|{{{dtype}}}|{{{htype}}}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''[[ability effect is::Unknown]]'' |<includeonly>[[missing::Infobox entry on effect| ]]''[[ability effect is::Unknown]]''</includeonly>}}}}
| colspan=2|{{#if:{{{buffs|}}}{{{debuffs|}}}{{{effect|}}}{{{dtype|}}}{{{htype|}}} | {{#if:{{{effect|}}} | [[ability effect is::{{effect|{{{buffs}}}|{{{debuffs}}}|{{{dtype}}}|{{{htype}}}|{{{effect}}}}}]] | [[ability effect is::{{effect|{{{buffs}}}|{{{debuffs}}}|{{{dtype}}}|{{{htype}}}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''[[ability effect is::Unknown]]'' |<includeonly>[[missing::Infobox entry on effect| ]]''[[ability effect is::Unknown]]''</includeonly>}}}}
|-
{{#switch:{{lc:{{{wardslot}}}}}|0-slot|1-slot=
! style="text-align:left" {{!}} '''Ward Slots:'''
{{!}} colspan="2" {{!}} {{#switch: {{lc:{{{sig}}}}} | y | yes | t | true = This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot when cast by {{{guild}}}s. | #default = This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot when cast by {{#ifeq:{{{guild}}}|Any|anyone.|{{{guild}}}s, {{#ifeq:{{{wardslot}}}|0-slot|1|2}} ward slots for everyone else.}}}} {{Cat|Spells using warding slots}}[[ward slot spell::true| ]][[ward slot cost::{{#ifeq:{{{wardslot}}}|0-slot|0|1}}| ]]||[[ward slot spell::false| ]]}}
|-
|-
{{#ifeq:{{{messaging}}} | - | |
{{#ifeq:{{{messaging}}} | - | |

Revision as of 18:19, 20 November 2021


Spell
Abbreviation:
Prerequisites:
Signature: No
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
}}