Template:Spell: Difference between revisions
Jump to navigation
Jump to search
(added disable switch for duration) |
No edit summary |
||
Line 40: | Line 40: | ||
{{#switch:{{{minduration}}}|=-|{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | |
{{#switch:{{{minduration}}}|=-|{{#if:{{IfMatch|metamagic|{{{ctype|}}}}}| | |
||
! style="text-align:left"{{!}}'''Duration (min/max):''' |
! 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| ]] | [[minimum duration is::{{{minduration}}}]] | [[minimum duration is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum duration|''Unknown'']]</includeonly>}} minutes / {{#if:{{{maxduration|}}} | [[maximum duration is::{{{maxduration}}}]] | [[maximum duration is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on maximum duration|''Unknown'']]</includeonly>}}}} minutes |
{{!}} colspan=2{{!}}{{#if:{{IfMatch|cyclic|{{{ctype|}}}}}|Indefinite [[minimum duration is::999| ]]|{{#if:{{{minduration|}}} | {{#switch: {{{minduration|}}} | -=Instant[[minimum duration is::-1| ]] | [[minimum duration is::{{{minduration}}}]]}} | [[minimum duration is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on minimum duration|''Unknown'']]</includeonly>}} minutes / {{#if:{{{maxduration|}}} | [[maximum duration is::{{{maxduration}}}]] | [[maximum duration is::0| ]]{{#switch: {{lc:{{{status|}}}}} | planned |obsolete= ''Unknown'' |<includeonly>[[missing::Infobox entry on maximum duration|''Unknown'']]</includeonly>}}}} minutes}}}}}}}} |
||
{{!}}- |
{{!}}- |
||
{{#if:{{IfMatch|cyclic|{{{ctype}}}}}|! style="text-align:left"{{!}}'''Pulse Timing:''' |
{{#if:{{IfMatch|cyclic|{{{ctype}}}}}|! style="text-align:left"{{!}}'''Pulse Timing:''' |
Revision as of 08:19, 11 June 2015
|
Abbreviation: | ||
---|---|---|
Prerequisites: | ||
Slot Cost: | ||
Type: | / | |
Difficulty: | ||
Prep (min/max): | / | |
Skill Range (min/max): | / | |
Valid Spell Target: | ||
Duration (min/max): | minutes / minutes | |
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--> |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= |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 }}