No edit summary |
No edit summary |
||
Line 103: | Line 103: | ||
{{#if:{{{domain|}}}|{{SpellTableRow|'''Domain'''|{{{domain|}}} }}|}} | {{#if:{{{domain|}}}|{{SpellTableRow|'''Domain'''|{{{domain|}}} }}|}} | ||
{{SpellTableRow||}} | {{SpellTableRow||}} | ||
{{#if:{{{cast|}}}|{{SpellTableRow|'''Casting Time'''|{{{cast|}}} }}|}} | {{#if:{{{cast|}}}|{{SpellTableRow|'''Casting Time'''|{{ | ||
#switch:{{{cast|}}} | |||
| full action | |||
| standard action | |||
| minor action | |||
| quick action = [[{{{cast|}}}]] | |||
| {{{cast|}}} | |||
}} }}|}} | |||
{{#if:{{{range|}}}|{{SpellTableRow|'''Range'''|{{{range|}}} }}|}} | {{#if:{{{range|}}}|{{SpellTableRow|'''Range'''|{{{range|}}} }}|}} | ||
{{#if:{{{components|}}}|{{SpellTableRow|'''[[Component]]s'''|{{{components|}}} }}|}} | {{#if:{{{components|}}}|{{SpellTableRow|'''[[Component]]s'''|{{{components|}}} }}|}} |
Revision as of 16:52, 15 February 2023
Usage
{{Spell
|name=
|level=
|domain=
|cast=
|range=
|components=
|duration=
|area=
}}
Important
The name parameter must be the same as the page name (underscore excluded, space works):
- Spell Page URL: https://rp.klanen.org/wiki/kfp/Spell_Name
- Template Parameter:
|name=Spell Name
Cantrips count as level 0:
|level=0
The following parameters may be added to set the theme(s) of the spell.
|arcane=1
|divine=1
|primal=1
|occult=1
Example
The following spells URL would be: https://rp.klanen.org/wiki/kfp/Hail_of_Blades
{{Spell
|name=Hail of Blades
|level=1
|arcane=1
|divine=1
|domain=Metal
|cast=1 action
|range=60 feet
|components=V, S, M
|duration=Instantaneous
|area=5-foot-radius, 40 feet high
}}
Template Components