Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Removing all content from page)
No edit summary
Line 1: Line 1:
<includeonly>
{{#ifeq: {{{planned|}}} | yes | {{PlannedSpell {{!}} {{{name|This spell}}} }} }}
{| style="float:right"
|{{GuildThumb |{{{guild|}}} }}
|}
{| class=wikitable width=60%
|-
! width=20% style="background: #B9B59C;border-right: hidden;height: 35px"|
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden"|'''{{{name|Spell Infobox}}}'''
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#ifeq: {{{scroll|}}} | yes | [[Image:miniscroll.jpg|Scroll-only Spell]]}} {{#ifeq: {{{target|}}} | yes | [[Image:minitarget.jpg|Targetted Magic Spell]]}} {{#ifeq: {{{held|}}} | yes | [[Image:miniheld.jpg|Held Mana spell]]}}
|-
! style="text-align:left"|'''Abbreviation:'''
| colspan=2|'''<tt>{{{abbrev|}}}</tt>'''
|-
! style="text-align:left"|'''Prerequisites:'''
| colspan=2|{{{prereqs|}}}
|-
! style="text-align:left"|'''Minimum Prep:'''
| colspan=2|{{{minprep|}}}
|-
! style="text-align:left"|'''Casting Cap:'''
| colspan=2|{{{castcap|}}}
|-
! style="text-align:left"|'''Valid Spell Target:'''
| colspan=2|{{{validtarget|}}}
|-
! style="text-align:left"|'''Description:'''
| colspan=2|{{{desc|}}}
|-
! style="text-align:left"|'''Example messaging:'''
| colspan=2|{{{messaging|}}}
|}

<!-- Categories -->
{{#if: {{{guild|}}} | [[Category:{{{guild}}} Spells]] | }}
{{#if: {{{spellbook|}}} |
{{#ifeq: {{{guild|}}} | Empath |
{{#ifeq: {{{spellbook}}} | Protection |
[[Category:Protection Spellbook (Empath)]] |
[[Category:{{{spellbook}}} Spellbook]]
}}
|
{{#ifeq: {{{guild|}}} | Ranger | | [[Category:{{{spellbook}}} Spellbook]] }}
}}{{
#ifeq: {{{guild|}}} | Ranger |
{{#ifeq: {{{spellbook}}} | Protection |
[[Category:Protection Spellbook (Ranger)]] |
[[Category:{{{spellbook}}} Spellbook]]
}}
|
{{#ifeq: {{{guild|}}} | Empath | | [[Category:{{{spellbook}}} Spellbook]] }}
}}
|
}}
{{#if: {{{magictype|}}} |[[Category:{{{magictype}}} Magic]] | }}
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells]] | }}
{{#ifeq: {{{held|}}} | yes |[[Category:Held Mana Spells]] | }}
{{#ifeq: {{{target|}}} | yes |[[Category:Targeted Spells]] | }}
{{#ifeq: {{{scroll|}}} | yes |[[Category:Scroll Spells ]] | }}
<!-- The 'notes' section below is so spell notes are still visible while the individual spell articles are edited to use the new template. Delete when the project is completed. -->
{{#if: {{{notes|}}} |
==NOTES==
{{{notes}}} |}}
<!-- end section to delete -->
</includeonly>
<noinclude>
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing.

==Usage==
<pre>
{{spell
|name=
|abbrev=
|prereqs= <!--links to other spells if needed-->
|minprep=
|castcap=
|validtarget= Self
|desc=
|notes=
|messaging=
|guild=
|spellbook=
|magictype=
|spelltype=
|target= yes/no
|held= yes/no
|scroll= yes/no
|planned = yes/no
}}
</pre>
</noinclude>

Revision as of 21:18, 5 May 2007


This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing.

Usage

{{spell
|name=
|abbrev= 
|prereqs= <!--links to other spells if needed-->
|minprep=
|castcap=
|validtarget= Self
|desc=
|notes=
|messaging=
|guild=
|spellbook=
|magictype=
|spelltype=
|target= yes/no
|held= yes/no
|scroll= yes/no
|planned = yes/no
}}