Template:Spell: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
! 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.jpg | Scroll-only Spell]][[scroll-only spell::true| ]]|[[scroll-only spell::false| ]]}} {{#if:{{#arraymaptemplate:{{{type|}}} | Template:SpellTargetCheck|,| }}|[[Image:minitarget.jpg|Targeted Magic spell]][[targeted magic spell::true| ]]|[[targeted magic spell::false| ]] |}}{{#if:{{#arraymaptemplate:{{{ctype|}}} | Template:SpellCycleCheck|,| }}|[[Image:miniheld.jpg|Cyclic spell]][[cyclic spell::true| ]]{{Cat|Cyclic |
! valign="middle" width=20% style="background:#B9B59C;border-left:hidden"| {{#switch: {{lc:{{{source|}}}}} | scroll only=[[Image:miniscroll.jpg | Scroll-only Spell]][[scroll-only spell::true| ]]|[[scroll-only spell::false| ]]}} {{#if:{{#arraymaptemplate:{{{type|}}} | Template:SpellTargetCheck|,| }}|[[Image:minitarget.jpg|Targeted Magic spell]][[targeted magic spell::true| ]]|[[targeted magic spell::false| ]] |}}{{#if:{{#arraymaptemplate:{{{ctype|}}} | Template:SpellCycleCheck|,| }}|[[Image:miniheld.jpg|Cyclic spell]][[cyclic spell::true| ]]{{Cat|Cyclic spells}}|[[cyclic spell::false| ]] |}} |
||
|- |
|- |
||
! style="text-align:left"|'''Abbreviation:''' |
! style="text-align:left"|'''Abbreviation:''' |
||
Line 20: | Line 20: | ||
|- |
|- |
||
! style="text-align:left"{{!}}'''Type:''' |
! style="text-align:left"{{!}}'''Type:''' |
||
| colspan=2|{{#if:{{{ctype|}}} | {{#arraymap:{{lc:{{{ctype}}}}}|,|@@@@|[[spell cast type is::@@@@]][[Category:@@@@ |
| 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> | {{#arraymaptemplate: {{{type}}} | SpellType | , | ,{{+}}}} }} |
||
|- |
|- |
||
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | |
{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | |
||
Line 60: | Line 60: | ||
|planned|plan=[[in development::true| ]] |
|planned|plan=[[in development::true| ]] |
||
{{#if:{{{guild|}}} |
{{#if:{{{guild|}}} |
||
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category: Planned @@@@ |
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category: Planned @@@@ spells|{{PAGENAME}}]]| }} |
||
}} |
}} |
||
|obsolete|obs={{cat|Obsolete |
|obsolete|obs={{cat|Obsolete spells}} |
||
|{{#if:{{{guild|}}}| |
|{{#if:{{{guild|}}}| |
||
{{#switch:{{lc:{{{guild}}}}} |
{{#switch:{{lc:{{{guild}}}}} |
||
|none|any= |
|none|any= |
||
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category:@@@@ |
|{{#arraymap:{{{guild}}}|,|@@@@|[[Category:@@@@ spells|{{PAGENAME}}]]| }} |
||
}} |
}} |
||
}}{{ |
}}{{ |
||
#switch: {{{source}}} |
#switch: {{{source}}} |
||
|standard=[[spell source is::guildleader| ]]{{Cat|Guild Leader |
|standard=[[spell source is::guildleader| ]]{{Cat|Guild Leader spells}} |
||
|scroll only=[[spell source is::scroll only| ]]{{Cat|Scroll |
|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 |
|quest=[[spell source is::quest| ]]{{Cat|Quest spells}} |
||
}}{{ |
}}{{ |
||
#if:{{{spellbook|}}} |
#if:{{{spellbook|}}} |
||
Line 78: | Line 78: | ||
|[[missing:Infobox missing spellbook| ]] |
|[[missing:Infobox missing spellbook| ]] |
||
}}{{ |
}}{{ |
||
#switch:{{lc:{{{sig}}}}}|y|yes|t|true={{Cat|Signature |
#switch:{{lc:{{{sig}}}}}|y|yes|t|true={{Cat|Signature spells}}[[signature spell::true| ]]|[[signature spell::false| ]]{{Cat|Non-signature spells}}{{#switch:{{{source}}}|standard={{Cat|Scroll spells}}|}} |
||
}} |
}} |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
Revision as of 15:02, 18 December 2014
|
Abbreviation: | ||
---|---|---|
Prerequisites: | ||
Slot Cost: | ||
Type: | / | |
Difficulty: | ||
Prep (min/max): | / | |
Skill Range (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= <!--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--> |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= |ctype=standard/battle/cyclic/ritual/feat (use commas if more than one) |type=augmentation/debilitation/targeted/utility/warding/multistrike/area of effect/pulse to group/death from above (use commas if more than one) |status= <blank>/planned/obsolete }}