Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
m (Reverted edits by ABSOLON (talk) to last revision by CARAAMON)
Line 10: Line 10:
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#switch: {{lc:{{{source|}}}}} | scroll only=[[Image:miniscroll.jpg | Scroll-only Spell]][[scroll-only spell::true| ]]|[[scroll-only spell::false| ]]}} {{#if:{{#arraymaptemplate:{{{type|}}} | Template:SpellTargetCheck|,| }}|[[Image:minitarget.jpg|Targeted Magic spell]][[targeted magic spell::true| ]]|[[targeted magic spell::false| ]] |}}{{#if:{{#arraymaptemplate:{{{ctype|}}} | Template:SpellCycleCheck|,| }}|[[Image:miniheld.jpg|Cyclic spell]][[cyclic spell::true| ]]{{Cat|Cyclic spells}}|[[cyclic spell::false| ]] |}}
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#switch: {{lc:{{{source|}}}}} | scroll only=[[Image:miniscroll.jpg | Scroll-only Spell]][[scroll-only spell::true| ]]|[[scroll-only spell::false| ]]}} {{#if:{{#arraymaptemplate:{{{type|}}} | Template:SpellTargetCheck|,| }}|[[Image:minitarget.jpg|Targeted Magic spell]][[targeted magic spell::true| ]]|[[targeted magic spell::false| ]] |}}{{#if:{{#arraymaptemplate:{{{ctype|}}} | Template:SpellCycleCheck|,| }}|[[Image:miniheld.jpg|Cyclic spell]][[cyclic spell::true| ]]{{Cat|Cyclic spells}}|[[cyclic spell::false| ]] |}}
|-
|-
! style="text-align:left"|'''Abbreviation:'''
{{#if:{{{abbrev|}}} |
| colspan=2 {{#switch: {{{abbrev|}}} | none= | -= |{{#if:{{{abbrev|}}} | style="font-size:125%"}}}} | {{#if:{{{abbrev|}}} | {{#switch:{{lc:{{{abbrev}}}}}| none|-=[[spell abbreviation is::none|-]]|=[[spell abbreviation is::unknown| ]]|[[spell abbreviation is::{{{abbrev}}}| ]]'''{{uc:<tt>{{{abbrev|}}}</tt>}}'''}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on abbreviation|''Unknown'']]</includeonly>}}}}
! style="text-align:left"{{!}}'''Abbreviation:'''
|-
{{!}} colspan=2 {{#switch: {{{abbrev|}}} | none= | -= | style="font-size:125%"}} | {{#switch:{{lc:{{{abbrev}}}}}| none|-=[[spell abbreviation is::none|-]]|=[[spell abbreviation is::unknown| ]]|[[spell abbreviation is::{{{abbrev}}}| ]]'''{{uc:<tt>{{{abbrev|}}}</tt>}}'''}}
{{!}}-
}}
! style="text-align:left"|'''Prerequisites:'''
! style="text-align:left"|'''Prerequisites:'''
| colspan=2|{{#if:{{{prereqs|}}} | {{{prereqs}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on prerequisits|''Unknown'']]</includeonly>}}}}
| colspan=2|{{#if:{{{prereqs|}}} | {{{prereqs}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on prerequisits|''Unknown'']]</includeonly>}}}}

Revision as of 23:43, 20 March 2015


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
}}