Template:Spell: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
|- |
|- |
||
! style="text-align:left"|'''Abbreviation:''' |
! style="text-align:left"|'''Abbreviation:''' |
||
| colspan=2 {{#ifeq: {{{abbrev|}}} | none | | {{#if:{{{abbrev|}}} | style="font-size:125%"}}}} | {{#if:{{{abbrev|}}} | {{# |
| colspan=2 {{#ifeq: {{{abbrev|}}} | none | | {{#if:{{{abbrev|}}} | style="font-size:125%"}}}} | {{#if:{{{abbrev|}}} | {{#switch:{{lc:{{{abbrev}}}}}| none|-=[[spell abbreviation is::none| ]]|=[[spell abbreviation is::unknown| ]]|[[spell abbreviation is::{{{abbrev}}}| ]]'''{{uc:<tt>{{{abbrev|}}}</tt>}}'''}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on abbreviation|''Unknown'']]</includeonly>}}}} |
||
|- |
|- |
||
! style="text-align:left"|'''Prerequisites:''' |
! style="text-align:left"|'''Prerequisites:''' |
||
| Line 22: | Line 22: | ||
| colspan=2|{{#if:{{{ctype|}}} | {{#arraymap:{{lc:{{{ctype}}}}}|,|@@@@|[[spell cast type is::@@@@]][[Category:@@@@ Spells|{{PAGENAME}}]]|, }} | <includeonly>[[missing::Infobox entry on casting type|''Unknown'']]</includeonly>}} / {{#switch:{{{type|}}} |-=- | =<includeonly>[[missing::Infobox entry on type|''Unknown'']]</includeonly> | {{#arraymap:{{lc:{{{type}}}}}|,|@@@@|[[spell skill is::@@@@]][[Category:@@@@ Spells|{{PAGENAME}}]]|, }} }} |
| colspan=2|{{#if:{{{ctype|}}} | {{#arraymap:{{lc:{{{ctype}}}}}|,|@@@@|[[spell cast type is::@@@@]][[Category:@@@@ Spells|{{PAGENAME}}]]|, }} | <includeonly>[[missing::Infobox entry on casting type|''Unknown'']]</includeonly>}} / {{#switch:{{{type|}}} |-=- | =<includeonly>[[missing::Infobox entry on type|''Unknown'']]</includeonly> | {{#arraymap:{{lc:{{{type}}}}}|,|@@@@|[[spell skill is::@@@@]][[Category:@@@@ Spells|{{PAGENAME}}]]|, }} }} |
||
|- |
|- |
||
{{#ifeq:{{{diff}}}| - | | |
|||
! style="text-align:left"{{!}}'''Difficulty:''' |
! style="text-align:left"{{!}}'''Difficulty:''' |
||
{{!}} colspan=2{{!}}{{#if:{{{diff|}}} | [[spell difficulty is::{{{diff}}}]]{{cat|{{{diff}}} Spells}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}} |
{{!}} colspan=2{{!}}{{#if:{{{diff|}}} | [[spell difficulty is::{{{diff}}}]]{{cat|{{{diff}}} Spells}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}} |
||
{{!}}- |
{{!}}- |
||
{{#ifeq:{{{minprep}}} | - | | |
|||
! style="text-align:left"{{!}}'''Prep (min/max):''' |
! style="text-align:left"{{!}}'''Prep (min/max):''' |
||
{{!}} colspan=2{{!}}{{#if:{{{minprep|}}} | [[minimum prep is::{{{minprep}}}]] | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum prepare|''Unknown'']]</includeonly>}}}} / {{#if:{{{castcap|}}} | {{# |
{{!}} colspan=2{{!}}{{#if:{{{minprep|}}} | [[minimum prep is::{{{minprep}}}]] | [[minimum prep is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum prepare|''Unknown'']]</includeonly>}}}} / {{#if:{{{castcap|}}} | {{#switch: {{{castcap}}} | -=Unlimited[[casting cap is::1000| ]] | [[casting cap is::{{{castcap}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on casting cap|''Unknown'']]</includeonly>}}}} |
||
{{!}}- |
{{!}}- |
||
{{#ifeq:{{{validtarget}}} | - | | |
{{#ifeq:{{{validtarget}}} | - | | |
||
! style="text-align:left"{{!}}'''Valid Spell Target:''' |
! style="text-align:left"{{!}}'''Valid Spell Target:''' |
||
| Line 41: | Line 39: | ||
|- |
|- |
||
! style="text-align:left"|'''Effect:''' |
! style="text-align:left"|'''Effect:''' |
||
| colspan=2|{{#if:{{{effect|}}} | [[spell effect is::{{{effect}}}]] | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on effect|''Unknown |
| colspan=2|{{#if:{{{effect|}}} | [[spell effect is::{{{effect}}}]] | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''[[spell effect is::Unknown]]'' |<includeonly>[[missing::Infobox entry on effect| ]]''[[spell effect is::Unknown]]''</includeonly>}}}} |
||
|- |
|- |
||
{{#ifeq:{{{messaging}}} | - | | |
{{#ifeq:{{{messaging}}} | - | | |
||
| Line 90: | Line 88: | ||
|validtarget= ignore for enchantes |
|validtarget= ignore for enchantes |
||
|sig=<blank>/y/yes/t/true |
|sig=<blank>/y/yes/t/true |
||
| |
|slot= |
||
|diff=intro/basic/advanced/esoteric |
|diff=intro/basic/advanced/esoteric |
||
|source=standard/scroll/scroll only/quest <!--Standard = only from GL. Scroll = from either scroll or GL--> |
|source=standard/scroll/scroll only/quest <!--Standard = only from GL. Scroll = from either scroll or GL--> |
||
Revision as of 19:55, 22 June 2014
|
|
| Abbreviation: | ||
|---|---|---|
| Prerequisites: | ||
| Slot Cost: | ||
| Type: | / | |
| Difficulty: | ||
| Prep (min/max): | / | |
| Valid Spell Target: | ||
| Description: | ||
| Effect: | ||
| 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= <!--manually add links to other spells, if needed-->
|minprep=
|castcap= <!--if unlimited, put "-" -->
|validtarget= ignore for enchantes
|sig=<blank>/y/yes/t/true
|slot=
|diff=intro/basic/advanced/esoteric
|source=standard/scroll/scroll only/quest <!--Standard = only from GL. Scroll = from either scroll or GL-->
|desc=
|messaging=
|guild=
|ctype=standard/battle/cyclic/ritual/feat (use commas if more than one)
|type=augmentation/debilitation/targeted/utility/warding (use commas if more than one)
|struct= for enchantes
|prep= for enchantes
|pulse= for enchantes
|duration= for enchantes
|performtype= for enchantes <!--Chanted, sung, instrument type-->
|enchantebook=for enchantes
|status= <blank>/planned/obsolete
}}