Template:Spell: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) No edit summary |
(attempting conditional messaging for sig spells and warding slots) |
||
Line 57: | Line 57: | ||
{{#switch:{{lc:{{{wardslot}}}}}|0-slot|1-slot= |
{{#switch:{{lc:{{{wardslot}}}}}|0-slot|1-slot= |
||
! style="text-align:left" {{!}} '''Ward Slots:''' |
! style="text-align:left" {{!}} '''Ward Slots:''' |
||
{{!}} colspan="2" {{!}} This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot when cast by {{#ifeq:{{{guild}}}|Any|anyone.|{{{guild}}}s, {{#ifeq:{{{wardslot}}}|0-slot|1|2}} ward slots for everyone else.}} {{Cat|Spells Using Warding Slots}}[[ward slot spell::true| ]]||[[ward slot spell::false| ]]}} |
{{!}} colspan="2" {{!}} {{#switch: {{lc:{{{sig}}}}} | y | yes | t | true = This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot when cast by {{{guild}}}s. | #default = This spell uses {{#ifeq:{{{wardslot}}}|0-slot|0|1}} ward slot when cast by {{#ifeq:{{{guild}}}|Any|anyone.|{{{guild}}}s, {{#ifeq:{{{wardslot}}}|0-slot|1|2}} ward slots for everyone else.}}}} {{Cat|Spells Using Warding Slots}}[[ward slot spell::true| ]]||[[ward slot spell::false| ]]}} |
||
|- |
|- |
||
{{#ifeq:{{{messaging}}} | - | | |
{{#ifeq:{{{messaging}}} | - | | |
Revision as of 23:30, 15 November 2021
|
Abbreviation: | ||
---|---|---|
Prerequisites: | ||
Slot Cost: | ||
Mana Type: | ||
Spell Type: | / | |
Difficulty: | ||
Prep (min/max): | / | |
Skill Range (min/max): | / | |
Valid Spell Target: | ||
Duration (min/max): | ||
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= |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 }}