Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(added inclusion of {{Obsolete}} at top of article when status = "obsolete")
No edit summary
Tag: Manual revert
 
(292 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<includeonly><!--Marks with Template:Obsolete (which also adds to Category:Obsolete Articles) if status field = obsolete -->{{#ifeq: {{{status|}}} | obsolete | {{Obsolete}} | }}
<includeonly><!--Marks with Template:Obsolete (which also adds to Category:Obsolete Articles) if status field = obsolete -->{{#ifeq: {{{status|}}} | obsolete | {{Obsolete}} | }}
<!--Adds to the Articles That Are Incomplete category if any non-optional information is missing, unless the spell is planned -->{{#if:{{#ask:[[{{FULLPAGENAME}}]] [[missing::~Infobox*]]}}|{{Incomplete|Some information is missing from the spell infobox below.}}|}}</includeonly>
<!--Adds to the Articles That Are Incomplete category if any non-optional information is missing, unless the spell is planned -->{{#if:{{#show: {{FULLPAGENAME}} | ?missing}}|{{#switch:{{{status|}}}|obsolete|planned=|{{Incomplete}}}}|}}</includeonly>
{| style="float:right"
{| style="float:right"
|{{#arraymaptemplate:{{{guild}}} | Template:GuildThumb|,| }}
|{{#arraymaptemplate:{{{guild}}} | Template:GuildThumb|,| }}
<br>{{#if: {{{Image File|}}} | [[Image:{{{Image File}}}|300px]] | }}
|}
|}
{| class=wikitable width=60%
{| class=wikitable width=60%
Line 8: Line 9:
! 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" | '''[[pretty name is::{{{name|{{PAGENAME}}}}}]]'''
! align="center" style="background:#B9B59C;font-size:150%;border-right:hidden" | '''[[pretty name is::{{{name|{{PAGENAME}}}}}]]'''
! 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| ]]|[[scroll-only spell::false| ]]}} {{#switch: {{lc:{{{target|}}}}} | yes | y=[[Image:minitarget.jpg|Targeted Magic Spell]][[targeted magic spell::true| ]]|[[targeted magic spell::false| ]]}} {{#switch: {{lc:{{{held|}}}}} | yes | y=[[Image:miniheld.jpg|Held Mana spell]][[held mana spell::true| ]]|[[held mana spell::false| ]] }}
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#switch: {{lc:{{{source|}}}}} | scroll only=[[Image:miniscroll.png | Scroll-only Spell]][[scroll-only spell::true| ]]|[[scroll-only spell::false| ]]}} {{#if:{{#arraymaptemplate:{{{type|}}} | Template:SpellTargetCheck|,| }}|[[Image:Minitarget.png|Targeted Magic spell]][[targeted magic spell::true| ]]|[[targeted magic spell::false| ]] |}}{{#if:{{#arraymaptemplate:{{{ctype|}}} | Template:SpellCycleCheck|,| }}|[[Image:Miniheld.png|Cyclic spell]][[cyclic spell::true| ]]{{Cat|Cyclic spells}}|[[cyclic spell::false| ]] |}} {{#if:{{#arraymaptemplate:{{{illegal|}}} | Template:SpellIllegalCheck|,| }}|[[Image:Minijustice.png|30px|Justice triggering spell]][[is illegal::true| ]]{{Cat|Illegal spells}}|[[is illegal::false| ]] |}} {{#if:{{#arraymaptemplate:{{{corrupt|}}} | Template:SpellCorruptCheck|,| }}|[[Image:Icon necromancer.gif|30px|Causes outrage or corruption]] |}}
|-
|-
! style="text-align:left"|'''Abbreviation:'''
! style="text-align:left"|'''Abbreviation:'''
| colspan=2 {{#ifeq: {{{abbrev|}}} | none | | {{#if:{{{abbrev|}}} | style="font-size:125%"}}}} | {{#if:{{{abbrev|}}} | {{#ifeq: {{{abbrev}}} | none | None | '''{{uc:<tt>{{{abbrev|}}}</tt>}}'''}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on abbreviation|''Unknown'']]</includeonly>}}}}
| colspan=2 {{#switch: {{{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:'''
| colspan=2|{{#if:{{{prereqs|}}} | {{{prereqs}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on prerequisits|''Unknown'']]</includeonly>}}}}
| colspan=2|{{#if:{{{prereqs|}}} | {{{prereqs}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on prerequisites|''Unknown'']]</includeonly>}}}}
|-
|-
! style="text-align:left"|'''Slot Cost:'''
! style="text-align:left"|'''Signature:'''
| colspan=2|{{#switch:{{lc:{{{sig}}}}}|y|yes|t|true={{Cat|Signature spells}}[[signature spell::true|Yes]]|[[signature spell::false|No]]{{Cat|Non-signature spells}}}}
| colspan=2|{{#if:{{{slot|}}} | {{{slot}}} | <includeonly>[[missing::Infobox entry on slot cost|''Unknown'']]</includeonly>}}
|-
|-
! style="text-align:left"|'''Type:'''
! style="text-align:left"|'''Spell Slots:'''
| colspan=2|{{#if:{{{ctype|}}} | {{#arraymap:{{lc:{{{ctype}}}}}|,|@@@@|@@@@[[Category:@@@@ Spells|{{PAGENAME}}]]|,&nbsp;}} | <includeonly>[[missing::Infobox entry on casting type|''Unknown'']]</includeonly>}} / {{#switch:{{{type|}}} |-=- | =<includeonly>[[missing::Infobox entry on type|''Unknown'']]</includeonly> | {{#arraymap:{{lc:{{{type}}}}}|,|@@@@|@@@@[[Category:@@@@ Spells|{{PAGENAME}}]]|,&nbsp;}} }}
| colspan=2|{{#if:{{{slot|}}} | [[slot cost is::{{{slot}}}]] | <includeonly>[[missing::Infobox entry on slot cost|''Unknown'']]</includeonly>}}
|-
|-
{{#switch:{{lc:{{{wardslot}}}}}|0-slot|1-slot=
! style="text-align:left"|'''Difficulty:'''
! style="text-align:left" {{!}} '''Ward Slots:'''
| colspan=2|{{#if:{{{diff|}}} | {{{diff}}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}}
{{!}} colspan="2" {{!}} {{#switch: {{lc:{{{sig}}}}} | y | yes | t | true = This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot{{#ifeq:{{{wardslot}}}|0-slot|s| }} when cast by {{{guild}}}s. | #default = This spell uses {{#ifeq:{{{guild}}}|None|{{#ifeq:{{{wardslot}}}|0-slot|1|2}} ward slot{{#ifeq:{{{wardslot}}}|0-slot| |s}} when cast by anyone.|{{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot{{#ifeq:{{{wardslot}}}|0-slot|s| }} when cast by {{#ifeq:{{{guild}}}|Any|anyone.|{{{guild}}}s, {{#ifeq:{{{wardslot}}}|0-slot|1|2}} ward slot{{#ifeq:{{{wardslot}}}|0-slot| |s}} for everyone else.}}}}}} {{Cat|Spells using warding slots}}[[ward slot spell::true| ]][[ward slot cost::{{#ifeq:{{{wardslot}}}|0-slot|0|1}}| ]]||[[ward slot spell::false| ]]}}
|-
|-
! style="text-align:left"|'''Prep (min/max):'''
! style="text-align:left"{{!}}'''Mana Type:'''
| colspan=2 | {{#if:{{{magic|}}} | [[magic type is::{{{magic}}}]]
| 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|}}} | {{#ifeq: {{{castcap}}} | - | Unlimited | [[casting cap is::{{{castcap}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on casting cap|''Unknown'']]</includeonly>}}}}
|<includeonly>[[missing::Infobox entry on mana type|''Unknown'']]</includeonly>}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Performance Type:'''
! style="text-align:left"{{!}}'''Spell Type:'''
{{!}}colspan=2{{!}}{{#if: {{{performtype|}}} | {{{performtype|}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on performance type|''Unknown'']]</includeonly>}}}}}}
| colspan=2|{{#if:{{{ctype|}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete={{{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> | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete={{{type}}}|{{#arraymaptemplate: {{{type}}} | SpellType | , | ,{{+}}}} }}}}
|-
|-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic||! style="text-align:left"{{!}}'''Valid Spell Target:'''
! style="text-align:left"{{!}}'''Difficulty:'''
{{!}}colspan=2{{!}}{{#if:{{{validtarget|}}} | {{{validtarget}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on valid target|''Unknown'']]</includeonly>}}}}}}
{{!}} colspan=2{{!}}{{#if:{{{diff|}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete={{{diff}}}|[[ability difficulty is::{{{diff}}}]]{{cat|{{{diff}}} abilities}}}} | <includeonly>[[missing::Infobox entry on difficulty|''Unknown'']]</includeonly>}}}}
{{!}}-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
! style="text-align:left"{{!}}'''Prep (min/max):'''
{{!}} 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>}}}}}}
{{!}}-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
! style="text-align:left"{{!}}'''Skill Range (min/max):'''
{{!}} colspan=2{{!}}{{#if:{{{minskill|}}} | [[minimum skill is::{{{minskill}}}]] | [[minimum skill is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum skill|''Unknown'']]</includeonly>}}}} / {{#if:{{{maxskill|}}} | [[maximum skill is::{{{maxskill}}}]] | [[maximum skill is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on maximum skill|''Unknown'']]</includeonly>}}}}}}
{{!}}-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | {{#ifeq:{{{validtarget}}} | - | |
! style="text-align:left"{{!}}'''Valid Spell Target:'''
{{!}}colspan=2{{!}}{{#if:{{{validtarget|}}} | [[Valid target is::{{{validtarget}}}]] | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on valid target|''Unknown'']]</includeonly>}}}}}}
{{!}}-}}
{{#switch:{{{minduration}}}|=-|{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
! style="text-align:left"{{!}}'''Duration (min/max):'''
{{!}} colspan=2{{!}}{{#if:{{IfMatch|cyclic|{{{ctype|}}}}}| Indefinite[[minimum duration is::999| ]] | {{#if:{{{minduration|}}} | {{#switch: {{{minduration|}}} | -=Instant[[minimum duration is::-1| ]] | 999=Indefinite[[minimum duration is::999| ]] | [[minimum duration is::{{{minduration}}}]] minutes /}} | [[minimum duration is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned | obsolete=''Unknown minutes'' |<includeonly>[[missing::Infobox entry on minimum duration|''Unknown minutes /'']]</includeonly>}}}} {{#if:{{{maxduration|}}} | {{#if:{{{minduration|}}} | {{#switch: {{{minduration|}}} | -|999= | [[maximum duration is::{{{maxduration}}}]]}}}} minutes | {{#if:{{{minduration|}}} | {{#switch: {{{minduration|}}} | -|999= | [[maximum duration is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown minutes'' |<includeonly>[[missing::Infobox entry on maximum duration|''Unknown minutes'']]</includeonly>}}}}}}}}}}}}}}
{{!}}-
{{#if:{{IfMatch|cyclic|{{{ctype}}}}}|! style="text-align:left"{{!}}'''Pulse Timing:'''
{{!}}colspan=2{{!}}{{#if:{{{pulse|}}} | {{{pulse}}} seconds | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on pulse timing|''Unknown'']]</includeonly>}}}}}}
|-
|-
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | {{#ifeq:{{{illegal}}} | - | |
! style="text-align:left"{{!}}'''Justice:'''
{{!}}colspan=2{{!}}{{#if:{{{illegal|}}} | {{{illegal}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on justice|''Unknown'']]</includeonly>}}}}}}
{{!}}-}}
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | {{#ifeq:{{{corrupt}}} | - | |
! style="text-align:left"{{!}}'''Corruption:'''
{{!}}colspan=2{{!}}{{#if:{{{corrupt|}}} | {{{corrupt}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on corrupt|''Unknown'']]</includeonly>}}}}}}
{{!}}-}}
! style="text-align:left"|'''Description:'''
! style="text-align:left"|'''Description:'''
| colspan=2|{{#if:{{{desc|}}} | {{{desc}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on description|''Unknown'']]</includeonly>}}}}
| colspan=2|{{#if:{{{desc|}}} | {{{desc}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on description|''Unknown'']]</includeonly>}}}}
|-
|-
! style="text-align:left"|'''Example Messaging:'''
! style="text-align:left"|'''Effect:'''
| colspan=2|{{#if:{{{messaging|}}} | {{{messaging}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on messaging|''Unknown'']]</includeonly>}}}}
| colspan=2|{{#if:{{{buffs|}}}{{{debuffs|}}}{{{effect|}}}{{{dtype|}}}{{{htype|}}} | {{#if:{{{effect|}}} | [[ability effect is::{{effect|{{{buffs}}}|{{{debuffs}}}|{{{dtype}}}|{{{htype}}}|{{{effect}}}}}]] | [[ability effect is::{{effect|{{{buffs}}}|{{{debuffs}}}|{{{dtype}}}|{{{htype}}}}}]] }} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''[[ability effect is::Unknown]]'' |<includeonly>[[missing::Infobox entry on effect| ]]''[[ability effect is::Unknown]]''</includeonly>}}}}
|-
|-
{{#ifeq:{{{messaging}}} | - | |
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Enchante Structure:'''
! style="text-align:left"{{!}}'''Example Messaging:'''
{{!}}colspan=2{{!}}{{#if:{{{struct|}}} | {{{struct}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on enchante structure|''Unknown'']]</includeonly>}}}}}}
{{!}} colspan=2{{!}}{{#if:{{{messaging|}}} | {{{messaging}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on messaging|''Unknown'']]</includeonly>}}}}
{{!}}-}}
|-
|-
{{#switch:{{lc:{{{poststring}}}}}|y|yes|t|true=
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Prep Time:'''
! style="text-align:left"{{!}}'''Post String(s):'''
{{!}}colspan=2{{!}}{{#if:{{{prep|}}} | {{{prep}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on prep time|''Unknown'']]</includeonly>}}}}}}
{{!}} colspan=2{{!}}{{#if:{{{visualstring|}}} | {{#arraymap:{{lc:{{{visualstring}}}}}|,|@@@@|[[Post room string is::@@@@|@@@@<br>]]| }}[[Has post room string::true| ]] | ''Post Room String Messaging Needed''[[Post room string is::Unknown| ]]}}
{{!}}-}}
{{#if:{{{offtype|}}}{{{deftype|}}}|
! style="text-align:left"{{!}}'''Contest Type:'''
{{!}} colspan=2{{!}}{{#switch: {{lc:{{{status|}}}}} | planned |obsolete=|[[Category:Contested abilities| ]]}}{{#if:{{{offtype|}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete={{{offtype}}}|[[offensive contest is::{{{offtype}}}]][[Category:{{{offtype}}} contest abilities| ]]}} | <includeonly>[[missing::Infobox entry on offensive contest|''Unknown'']]</includeonly>}} / {{#if:{{{deftype|}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete={{{deftype}}}|[[defensive contest is::{{{deftype}}}]][[Category:{{{deftype}}} contest abilities| ]]}} | <includeonly>[[missing::Infobox entry on defensive contest|''Unknown'']]</includeonly>}}}}
|-
|-
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Pulse Timing:'''
! style="text-align:left"{{!}}'''Devices/Tattoos:'''
| colspan="2" | {{#ask: [[item casts spell::{{PAGENAME}}]]|default=No devices or tattoos documented.}}
{{!}}colspan=2{{!}}{{#if:{{{pulse|}}} | {{{pulse}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on pulse timing|''Unknown'']]</includeonly>}}}}}}
|}<includeonly>
|-
<!-- Categories and properties -->[[page type is::spell| ]]{{Cat|Spells}}{{#if:{{{guild|}}}|{{#switch:{{lc:{{{guild}}}}}|none=|any=[[guild association is::none| ]]<!--[[guild association is::Bard| ]][[guild association is::Cleric| ]][[guild association is::Empath| ]][[guild association is::Moon Mage| ]][[guild association is::Necromancer| ]][[guild association is::Paladin| ]][[guild association is::Ranger| ]][[guild association is::Warrior Mage| ]]-->|{{#arraymap:{{{guild}}}|,|@@@@|[[guild association is::@@@@| ]]| }}}}}}<!--do not add categories if it is a planned or obsolete spell -->{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}}
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|! style="text-align:left"{{!}}'''Enchante Duration:'''
{{#switch:{{lc:{{{status|}}}}}
{{!}}colspan=2{{!}}{{#if:{{{duration|}}} | {{{duration}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on enchante duration|''Unknown'']]</includeonly>}}}}}}
|planned|plan=[[in development::true| ]]
|}
{{#if:{{{guild|}}}
<includeonly>
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category: Planned @@@@ spells|{{PAGENAME}}]]| }}
<!-- Categories -->
[[page type is::spell| ]]{{#if:{{{guild|}}}|{{#switch:{{lc:{{{guild}}}}}|none=|any=[[guild association is::bard| ]][[guild association is::cleric| ]][[guild association is::empath| ]][[guild association is::moon mage| ]][[guild association is::paladin| ]][[guild association is::ranger| ]][[guild association is::warrior mage| ]]|{{#arraymap:{{lc:{{{guild}}}}}|,|x|[[guild association is::x| ]]| }}}}}}{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|[[has default form::Form:Enchante| ]]}}
<!--do not add categories if it is a planned or obsolete spell -->
{{#ifeq:{{lc:{{{guild}}}{{{ctype}}}}}|bardcyclic|{{cat|Bard Enchantes}}|{{cat|Spells}}
}}
{{#switch:{{{planned}}}|yes|y=[[missing::categorization| ]]}}
{{#switch: {{lc:{{{status|}}}}}
|planned | plan=[[in development::true| ]]
{{#if: {{{guild|}}} |
{{#switch:{{lc:{{{guild}}}}}
|bard={{Cat|Planned Bard Enchantes}}
|any=
|none=
|{{#arraymap:{{{guild}}}|,|x|[[Category: Planned x Spells|{{PAGENAME}}]]| }}
}}
}}
}}
|obsolete | obs={{cat|Obsolete Spells}}
|obsolete|obs={{cat|Obsolete spells}}
|{{#if: {{{guild|}}} |
|{{#if:{{{guild|}}}|
{{#switch:{{lc:{{{guild}}}}}
{{#switch:{{lc:{{{guild}}}}}
|none=
|none|any=
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category:@@@@ spells|{{PAGENAME}}]]| }}
|any=
|{{#arraymap:{{{guild}}}|,|x|[[Category:x Spells|{{PAGENAME}}]]| }}
}}
}}
{{#if: {{{spellbook|}}} | [[spellbook is::{{{spellbook}}}| ]]
{{#switch: {{lc:{{{spellbook}}}}}
| protection=
{{#if: {{{guild|}}} | {{#arraymap:{{ucfirst:{{{guild}}}}}|,|x|[[Category: Protection Spellbook (x)|{{PAGENAME}}]]| }}
}}
| {{cat|{{{spellbook}}} Spellbook}}
}}
}}
}}{{
#switch: {{{source}}}
|standard=[[spell source is::guildleader| ]]{{Cat|Guild Leader spells}}
|scroll only=[[spell source is::scroll only| ]]{{Cat|Scroll-only spells, Scroll spells}}<!-- Both are needed as all scroll only spells are also scrolls by definition -->
|quest=[[spell source is::quest| ]]{{Cat|Quest spells}}
}}{{
#if:{{{spellbook|}}}
|[[spellbook is::{{{spellbook}}}| ]]{{cat|{{{spellbook}}} spellbook}}
|[[missing:Infobox missing spellbook| ]]
}}
}}
{{#switch:{{{source}}}|standard={{Cat|Scroll spells}}|}}
{{#if: {{{enchantebook|}}}
{{
| {{cat|{{{enchantebook}}} Spellbook}}[[spellbook is::{{{enchantebook}}}| ]]
#if:{{{buffs|}}}|{{#switch:{{{buffs|}}}|No buffs|-= |{{#arraymap:{{{buffs}}}|,|@@@@|[[boosts::@@@@| ]]| }} }}
}}{{
#if:{{{debuffs|}}}|{{#switch:{{{debuffs|}}}|No debuffs|-= |{{#arraymap:{{{debuffs}}}|,|@@@@|[[debuffs::@@@@| ]]| }} }}
}}{{
#if:{{{dtype|}}}|{{#switch:{{{dtype|}}}|No damage|-= |{{#arraymap:{{{dtype}}}|,|@@@@|[[damage type::@@@@| ]]| }} }}
}}{{
#if:{{{htype|}}}|{{#switch:{{{htype|}}}|No heal|-= |{{#arraymap:{{{htype}}}|,|@@@@|[[heal type::@@@@| ]]| }} }}
}}
}}
}}</includeonly><noinclude>
}}
<!-- 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|}}} |
==NOTES==
{{{notes}}} |}}
<!-- end section to delete -->
</includeonly><noinclude>
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing.
This template provides an infobox for spell articles. Notes and commentary should be added on the individual spell articles via normal article editing.


Line 102: Line 127:
{{spell
{{spell
|name=
|name=
|abbrev= <!--if no abbreviation then put "-" -->
|abbrev=
|prereqs= <!--manually add links to other spells, if needed-->
|prereqs= <!--manually add links to other spells, if needed-->
|minprep=
|minprep=
|castcap= <!--if unlimited, put "-" -->
|castcap= <!--if unlimited, put "-" -->
|minskill= <!--as per DISCERN-->
|validtarget= ignore for enchantes
|maxskill= <!--as per DISCERN-->
|slots=
|minduration= in roisaen. If the spell is instant enter '-'
|maxduration= in roisaen.
|validtarget=self/pc/creature/group/area/item/special
|sig=<blank>/y/yes/t/true
|slot=
|diff=intro/basic/advanced/esoteric
|diff=intro/basic/advanced/esoteric
|source=standard/scroll only/quest <!--Standard = Learned from guildleader. Scroll Only= Found only on scrolls. Quest = Learned from a quest-->
|pulse= for cyclics
|desc=
|desc=
|effect=shorthand version of effect. e.g +evasion. Do not include links. Full effect should go in the ==Notes== below the template.
|messaging=
|messaging=
|guild=
|guild=
|magic=Analogous Patterns/Arcane Magic/Elemental Magic/Holy Magic/Life Magic/Lunar Magic
|spellbook= ignore for enchantes
|ctype=standard/battle/cyclic/ritual/feat (use commas if more than one)
|ctype=standard/battle/cyclic/ritual/feat (use commas if more than one)
|type=augmentation/debilitation/targeted/utility/warding (use commas if more than one)
|type=augmentation/debilitation/targeted/utility/warding/multistrike/pulse damage/area of effect/pulse to group/death from above (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
|status= <blank>/planned/obsolete
}}
}}</pre>
</pre>{{Cat|Templates}}
{{Cat|Templates}}</noinclude>
</noinclude>

Latest revision as of 17:10, 5 July 2024



Spell
Abbreviation:
Prerequisites:
Signature: No
Spell Slots:
Mana Type:
Spell Type: /
Difficulty:
Prep (min/max): /
Skill Range (min/max): /
Valid Spell Target:
Duration (min/max):
Justice:
Corruption:
Description:
Effect:
Example Messaging:
Devices/Tattoos: No devices or tattoos documented.

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= <!--if no abbreviation then put "-" -->
|prereqs= <!--manually add links to other spells, if needed-->
|minprep=
|castcap= <!--if unlimited, put "-" -->
|minskill= <!--as per DISCERN-->
|maxskill= <!--as per DISCERN-->
|minduration= in roisaen. If the spell is instant enter '-'
|maxduration= in roisaen.
|validtarget=self/pc/creature/group/area/item/special
|sig=<blank>/y/yes/t/true
|slot=
|diff=intro/basic/advanced/esoteric
|source=standard/scroll only/quest <!--Standard = Learned from guildleader. Scroll Only= Found only on scrolls. Quest = Learned from a quest-->
|pulse= for cyclics
|desc=
|effect=shorthand version of effect. e.g +evasion. Do not include links. Full effect should go in the ==Notes== below the template.
|messaging=
|guild=
|magic=Analogous Patterns/Arcane Magic/Elemental Magic/Holy Magic/Life Magic/Lunar Magic
|ctype=standard/battle/cyclic/ritual/feat (use commas if more than one)
|type=augmentation/debilitation/targeted/utility/warding/multistrike/pulse damage/area of effect/pulse to group/death from above (use commas if more than one)
|status= <blank>/planned/obsolete
}}