Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (bugfix)
(additional unknown field processing)
Line 30: Line 30:
|-
|-
! style="text-align:left"|'''Abbreviation:'''
! style="text-align:left"|'''Abbreviation:'''
| colspan=2 {{#ifeq: {{{abbrev|}}} | none | | style="font-size:125%"}} | {{#ifeq: {{{abbrev|}}} | none | None | '''{{uc:<tt>{{{abbrev|}}}</tt>}}'''}}
| colspan=2 {{#ifeq: {{{abbrev|}}} | none | | style="font-size:125%"}} | {{#if:{{{abbrev|}}} | {{#ifeq: {{{abbrev}}} | none | None | '''{{uc:<tt>{{{abbrev|}}}</tt>}}'''}} | ''Unknown''}}
|-
|-
! style="text-align:left"|'''Prerequisites:'''
! style="text-align:left"|'''Prerequisites:'''
Line 45: Line 45:
|-
|-
{{#ifeq:{{lc:{{{guild}}}}}|bard||! style="text-align:left"{{!}}'''Valid Spell Target:'''
{{#ifeq:{{lc:{{{guild}}}}}|bard||! style="text-align:left"{{!}}'''Valid Spell Target:'''
{{!}}colspan=2{{!}}{{{validtarget|}}}}}
{{!}}colspan=2{{!}}{{#if:{{{validtarget|}}} | {{{validtarget}}} | ''Unknown''}}}}
|-
|-
! style="text-align:left"|'''Description:'''
! style="text-align:left"|'''Description:'''

Revision as of 17:23, 15 August 2008



Spell Infobox
Abbreviation: Unknown
Prerequisites: Unknown
Minimum Prep: Unknown
Casting Cap: Unknown
Valid Spell Target: Unknown
Description: Unknown
Example Messaging: Unknown

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= 
|prereqs= <!--manually add links to other spells, if needed-->
|minprep=
|castcap=
|validtarget= ignore for enchantes
|desc=
|messaging=
|guild=
|spellbook= ignore for enchantes
|spelltype=
|struct= for enchantes
|prep= for enchantes
|pulse= for enchantes
|duration= for enchantes
|performtype= for enchantes <!--Chanted, sung, instrument type--> 
|enchantebook=for enchantes
|target= yes/no
|held= yes/no
|scroll= yes/no
|planned= yes/no
|tier=first/second/third/fourth/fifth
}}