Template:Spell: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(24 intermediate revisions by the same user not shown)
Line 9: 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:{{{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| ]] |}} {{#switch:{{lc:{{{illegal|}}}}}|yes|y=[[Image:Minijustice.png|30px|Justice triggering spell]]}} {{#switch:{{lc:{{{corrupt|}}}}}|do|dc|tc|ac|hc=[[Image:Icon necromancer.gif|30px|Causes outrage or corruption]]}}
! 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:'''
Line 57: Line 57:
{{!}}colspan=2{{!}}{{#if:{{{pulse|}}} | {{{pulse}}} seconds | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on pulse timing|''Unknown'']]</includeonly>}}}}}}
{{!}}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|}}}}}| |
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | {{#ifeq:{{{illegal}}} | - | |
! style="text-align:left"{{!}}'''Justice:'''
! style="text-align:left"{{!}}'''Justice:'''
{{!}}colspan=2{{!}}{{#if:{{{illegal|}}} | {{{illegal}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on justice|''Unknown'']]</includeonly>}}}}}}
{{!}} colspan=2{{!}}{{#if: {{{illegal|}}} | {{#switch:{{lc:{{{illegal|}}}}}| social outrage=[[is illegal::true| ]]This spell is illegal to cast in [[Justice#Standard_Justice|Justice Zones]] and causes [[Social Outrage]] for necromancers and [[Social Corruption]] for non-necromancers.{{cat|Illegal spells| }} | justice only=[[is illegal::true| ]]This spell is illegal to cast in [[Justice#Standard_Justice|Justice Zones]] but does not cause [[Social Outrage]] or [[Social Corruption]].{{cat|Illegal spells| }}| none | no | n=[[is illegal::false| ]]This spell is legal to cast in [[Justice#Standard_Justice|Justice Zones]].}} | [[missing::Infobox entry for illegal| ]]''Unknown'' }}
{{!}}-}}
{{!}}-}}
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| |
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | {{#ifeq:{{{corrupt}}} | - | |
! style="text-align:left"{{!}}'''Corruption:'''
! style="text-align:left"{{!}}'''Corruption:'''
{{!}}colspan=2{{!}}{{#if:{{{corrupt|}}} | {{{corrupt}}} | {{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on corrupt|''Unknown'']]</includeonly>}}}}}}
{{!}} colspan=2{{!}} {{#if: {{{corrupt|}}} | {{#switch:{{lc:{{{corrupt|}}}}} | divine outrage=[[is corrupt::true| ]]This spell causes [[Divine Outrage]] for necromancers and [[Divine Corruption]] for non-necromancers. | divine corruption only=[[is corrupt::true| ]]This spell does not cause [[Divine Outrage]] for necromancers but does cause [[Divine Corruption]] for non-necromancers. | teleologic corruption=[[is corrupt::true| ]]This spell causes [[Teleologic corruption]] | antinomic corruption=[[is corrupt::true| ]]This spell causes [[Antinomic corruption]] | hylomorphic corruption=[[is corrupt::true| ]]This spell causes [[Hylomorphic Corruption]] | none | no | n=[[is corrupt::false| ]]This spell does not cause [[Divine Outrage]], [[Divine Corruption]] or [[Sorcery#Sorcerous_Corruption|Sorcerous Corruption]].}} | [[missing::Infobox entry for corrupt| ]] ''Unknown'' }}
{{!}}-}}
{{!}}-}}
! style="text-align:left"|'''Description:'''
! style="text-align:left"|'''Description:'''

Latest revision as of 18: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
}}