Template:Spell: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
<!--Adds to the Articles That Are Incomplete category if any non-optional information is missing |
<!--Adds to the Articles That Are Incomplete category if any non-optional information is missing --> |
||
<!-- the logic in this section is a bit tricky, so please do not edit this section if you do not have a clear understanding of how it works. Documentation on #if, #ifeq, and the rest of the ParserFunctions can be read here: http://meta.wikimedia.org/wiki/Help:ParserFunctions --> |
|||
⚫ | |||
{{#if: |
{{#if: |
||
{{#if:{{{name|}}}| |
{{#if:{{{name|}}}| |
||
Line 8: | Line 6: | ||
{{#if:{{{castcap|}}}| |
{{#if:{{{castcap|}}}| |
||
{{#if:{{{validtarget|}}}| |
{{#if:{{{validtarget|}}}| |
||
{{#if:{{{guild|}}}| |
|||
<!-- for "guild" field test only: return non-empty if spellbook = Analogous Patterns; else continue tests --> |
|||
{{#if: |
{{#if:{{{spellbook|}}}|1 |
||
}} |
|||
}} |
}} |
||
}} |
}} |
||
Line 16: | Line 14: | ||
}} |
}} |
||
}} |
}} |
||
||{{Incomplete |
||{{Incomplete}}}} |
||
}} |
|||
</includeonly> |
</includeonly> |
||
⚫ | |||
{| style="float:right" |
{| style="float:right" |
||
|{{GuildThumb |{{{guild|}}} }} |
|{{GuildThumb |{{{guild|}}} }} |
||
Line 46: | Line 43: | ||
! style="text-align:left"|'''Description:''' |
! style="text-align:left"|'''Description:''' |
||
| colspan=2|{{{desc|}}} |
| colspan=2|{{{desc|}}} |
||
|- |
|||
! style="text-align:left"|'''Guildleader Comments:''' |
|||
| colspan=2|{{{glcomment|}}} |
|||
|- |
|- |
||
! style="text-align:left"|'''Example Messaging:''' |
! style="text-align:left"|'''Example Messaging:''' |
||
Line 100: | Line 100: | ||
|validtarget= Self |
|validtarget= Self |
||
|desc= |
|desc= |
||
|glcomment= |
|||
|messaging= |
|messaging= |
||
|guild= |
|guild= |
Revision as of 12:19, 10 May 2008
|
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 }}