User:Farman/spelltemplate: Difference between revisions

From Elanthipedia
< User:Farman
Jump to navigation Jump to search
No edit summary
No edit summary
Line 28: Line 28:
| colspan=2|{{{messaging}}}
| colspan=2|{{{messaging}}}
|}
|}
== Notes ==
{{{notes}}}


<!-- Categories -->
<!-- Categories -->
Line 53: Line 51:
}}
}}
{{#if: {{{magictype|}}} |[[Category:{{{magictype}}} Magic]] | }}
{{#if: {{{magictype|}}} |[[Category:{{{magictype}}} Magic]] | }}
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells]] | }}</includeonly>
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells]] | }}
{{#ifeq: {{{held|}}} |[[Category:Held Mana Spells]] | }}

{{#ifeq: {{{target|}}} |[[Category:Targeted Spells]] | }}
{{#ifeq: {{{scroll|}}} |[[Category:Scroll Spells ]] | }}</includeonly>
<noinclude>
<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==
==Usage==

<pre>
<pre>
{{spell
{{spell
Line 79: Line 79:
}}
}}
</pre>
</pre>
==Example==

{
</noinclude>
</noinclude>

Revision as of 04:10, 2 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
}}

Example

{