Template:Spell: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(added semantic support and unknown field processing) |
||
| Line 27: | Line 27: | ||
! width=20% style="background: #B9B59C;border-right: hidden;height: 35px"| |
! width=20% style="background: #B9B59C;border-right: hidden;height: 35px"| |
||
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden"|'''{{{name|Spell Infobox}}}''' |
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden"|'''{{{name|Spell Infobox}}}''' |
||
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#switch: {{lc:{{{scroll|}}}}} | yes | y=[[Image:miniscroll.jpg | Scroll-only Spell]]}} {{#switch: {{lc:{{{target|}}}}} | yes | y=[[Image:minitarget.jpg|Targetted Magic Spell]]}} {{#switch: {{lc:{{{held|}}}}} | yes | y=[[Image:miniheld.jpg|Held Mana spell]]}} |
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#switch: {{lc:{{{scroll|}}}}} | yes | y=[[Image:miniscroll.jpg | Scroll-only Spell]][[scroll-only spell::true| ]]}} {{#switch: {{lc:{{{target|}}}}} | yes | y=[[Image:minitarget.jpg|Targetted Magic Spell]][[targetted magic spell::true| ]]}} {{#switch: {{lc:{{{held|}}}}} | yes | y=[[Image:miniheld.jpg|Held Mana spell]][[held mana spell::true| ]]}} |
||
|- |
|- |
||
! style="text-align:left"|'''Abbreviation:''' |
! style="text-align:left"|'''Abbreviation:''' |
||
| Line 33: | Line 33: | ||
|- |
|- |
||
! style="text-align:left"|'''Prerequisites:''' |
! style="text-align:left"|'''Prerequisites:''' |
||
| colspan=2|{{{prereqs|}}} |
| colspan=2|{{#if:{{{prereqs|}}} | {{{prereqs}}} | ''Unknown''}} |
||
|- |
|- |
||
! style="text-align:left"|'''Minimum Prep:''' |
! style="text-align:left"|'''Minimum Prep:''' |
||
| colspan=2|{{{minprep|}}} |
| colspan=2|{{#if:{{{minprep|}}} | [[minimum prep is::{{{minprep}}}]] | ''Unknown''}} |
||
|- |
|- |
||
! style="text-align:left"|'''Casting Cap:''' |
! style="text-align:left"|'''Casting Cap:''' |
||
| colspan=2|{{{castcap|}}} |
| colspan=2|{{#if:{{{castcap|}}} | [[casting cap is::{{{castcap}}}]] | ''Unknown''}} |
||
|- |
|- |
||
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Performance Type:''' |
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Performance Type:''' |
||
| Line 48: | Line 48: | ||
|- |
|- |
||
! style="text-align:left"|'''Description:''' |
! style="text-align:left"|'''Description:''' |
||
| colspan=2|{{{desc|}}} |
| colspan=2|{{#if:{{{desc|}}} | {{{desc}}} | ''Unknown''}} |
||
|- |
|- |
||
! style="text-align:left"|'''Example Messaging:''' |
! style="text-align:left"|'''Example Messaging:''' |
||
| colspan=2|{{{messaging|}}} |
| colspan=2|{{#if:{{{messaging|}}} | {{{messaging}}} | ''Unknown''}} |
||
|- |
|- |
||
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Enchante Structure:''' |
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Enchante Structure:''' |
||
{{!}}colspan=2{{!}}{{{struct|}}}}} |
{{!}}colspan=2{{!}}{{#if:{{{struct|}}} | {{{struct}}} | ''Unknown''}} |
||
|- |
|- |
||
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Prep Time:''' |
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Prep Time:''' |
||
{{!}}colspan=2{{!}}{{{prep|}}}}} |
{{!}}colspan=2{{!}}{{#if:{{{prep|}}} | {{{prep}}} | ''Unknown''}} |
||
|- |
|- |
||
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Pulse Timing:''' |
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Pulse Timing:''' |
||
{{!}}colspan=2{{!}}{{{pulse|}}}}} |
{{!}}colspan=2{{!}}{{#if:{{{pulse|}}} | {{{pulse}}} | ''Unknown''}} |
||
|- |
|- |
||
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Enchante Duration:''' |
{{#ifeq:{{lc:{{{guild}}}}}|bard|! style="text-align:left"{{!}}'''Enchante Duration:''' |
||
{{!}}colspan=2{{!}}{{{duration|}}}}} |
{{!}}colspan=2{{!}}{{#if:{{{duration|}}} | {{{duration}}} | ''Unknown''}} |
||
|} |
|} |
||
<includeonly> |
<includeonly> |
||
| Line 72: | Line 72: | ||
}} |
}} |
||
{{#switch: {{lc:{{{planned|}}}}} |
{{#switch: {{lc:{{{planned|}}}}} |
||
|yes | y= |
|yes | y=[[in development::true| ]] |
||
{{#if: {{{guild|}}} | |
{{#if: {{{guild|}}} | |
||
{{#switch:{{lc:{{{guild}}}}} |
{{#switch:{{lc:{{{guild}}}}} |
||
| Line 88: | Line 88: | ||
}} |
}} |
||
}} |
}} |
||
{{#if: {{{spellbook|}}} | |
{{#if: {{{spellbook|}}} | [[spellbook is::{{{spellbook}}}| ]] |
||
{{#switch: {{lc:{{{spellbook}}}}} |
{{#switch: {{lc:{{{spellbook}}}}} |
||
| protection= |
| protection= |
||
| Line 101: | Line 101: | ||
| [[Category:{{{enchantebook}}}]] |
| [[Category:{{{enchantebook}}}]] |
||
}} |
}} |
||
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells|{{PAGENAME}}]] |
{{#if: {{{spelltype|}}} |[[Category:{{{spelltype}}} Spells|{{PAGENAME}}]][[spell type is::{{{spelltype}}}| ]] |
||
}} |
}} |
||
{{#if: {{{spelltype2|}}} |[[Category:{{{spelltype2}}} Spells|{{PAGENAME}}]] |
{{#if: {{{spelltype2|}}} |[[Category:{{{spelltype2}}} Spells|{{PAGENAME}}]][[spell type is::{{{spelltype2}}}| ]] |
||
}} |
}} |
||
{{#if: {{{spelltype3|}}} |[[Category:{{{spelltype3}}} Spells|{{PAGENAME}}]] |
{{#if: {{{spelltype3|}}} |[[Category:{{{spelltype3}}} Spells|{{PAGENAME}}]][[spell type is::{{{spelltype3}}}| ]] |
||
}} |
}} |
||
{{#switch: {{lc:{{{held}}}}} | yes | y=[[Category:Held Mana Spells|{{PAGENAME}}]] |
{{#switch: {{lc:{{{held}}}}} | yes | y=[[Category:Held Mana Spells|{{PAGENAME}}]] |
||
Revision as of 17:20, 15 August 2008
|
|
| Abbreviation: | ||
|---|---|---|
| Prerequisites: | Unknown | |
| Minimum Prep: | Unknown | |
| Casting Cap: | Unknown | |
| Valid Spell Target: | ||
| Description: | Unknown | |
| Example Messaging: | Unknown | |
| Unknown | ||
| Unknown | ||
| Unknown | ||
| 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
}}