Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (Undo revision 33760 by Caraamon (Talk))
m (Changed incomplete category tag to incomplete template tag)
Line 1: Line 1:
<!--Adds to the Articles That Are Incomplete category if any non-optional information is missing -->
{{#if:
{{#if:{{{name|}}}|
{{#if:{{{minprep|}}}|
{{#if:{{{castcap|}}}|
{{#if:{{{validtarget|}}}|
{{#if:{{{guild|}}}|
{{#if:{{{spellbook|}}}|1
}}
}}
}}
}}
}}
}}
||{{Incomplete}}}}
{{#ifeq: {{{planned|}}} | yes | {{PlannedSpell {{!}} {{{name|This spell}}} }} }}
{{#ifeq: {{{planned|}}} | yes | {{PlannedSpell {{!}} {{{name|This spell}}} }} }}
{| style="float:right"
{| style="float:right"
Line 63: Line 78:
{{#ifeq: {{{scroll|}}} | yes |[[Category:Scroll Spells ]] | }}
{{#ifeq: {{{scroll|}}} | yes |[[Category:Scroll Spells ]] | }}
}}
}}
<!--Adds to the category Incomplete if any non-optional information is missing -->
{{#if:
{{#if:{{{name|}}}|
{{#if:{{{minprep|}}}|
{{#if:{{{castcap|}}}|
{{#if:{{{validtarget|}}}|
{{#if:{{{guild|}}}|
{{#if:{{{spellbook|}}}|1
}}
}}
}}
}}
}}
}}
||[[Category:Incomplete]]}}
<!-- 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. -->
<!-- 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|}}} |
{{#if: {{{notes|}}} |

Revision as of 18:18, 16 April 2008

Incomplete Article
  • This article is incomplete, which means that while it is not a stub, it still lacks certain data or information.
  • Infobox entry for illegal, Infobox entry for corrupt


Spell Infobox
Abbreviation:
Prerequisites:
Minimum Prep:
Casting Cap:
Valid Spell Target:
Description:
Guildleader Comments:
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= 
|prereqs= <!--links to other spells if needed-->
|minprep=
|castcap=
|validtarget= Self
|desc=
|glcomment=
|messaging=
|guild=
|spellbook=
|spelltype=
|target= yes/no
|held= yes/no
|scroll= yes/no
|planned= yes/no
}}