No edit summary |
No edit summary |
||
Line 92: | Line 92: | ||
{{SpellTableHeader}} | {{SpellTableHeader}} | ||
{{#if:{{{level|}}}|{{SpellTableRow|'''''Level'''''|'''''{{#ifeq:{{{level}}}|0|Cantrip|{{{level}}}}}'''''}}|}} | {{#if:{{{level|}}}|{{SpellTableRow|'''''Level'''''|'''''{{#ifeq:{{{level}}}|0|Cantrip|{{{level}}}}}'''''}}|}} | ||
{{#if:{{{arcane|}}}|{{SpellTableRow|'''Theme'''|{{#tag|div|Arcane}}{{#tag|div|Divine}}}}|}} | {{#ifexpr: 0 {{#iferror:{{{arcane|}}} > 0|| + {{{arcane}}} > 0 |yay|nay}} }} | ||
{{#if:{{{arcane|}}}|{{SpellTableRow|'''Theme'''|{{#tag|div|Arcane}}{{#tag|div|Divine}} }}|}} | |||
{{#if:{{{domain|}}}|{{SpellTableRow|'''Domain'''|{{{domain}}} }}|}} | {{#if:{{{domain|}}}|{{SpellTableRow|'''Domain'''|{{{domain}}} }}|}} | ||
{{SpellTableRow||}} | {{SpellTableRow||}} |
Revision as of 12:34, 2 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=
|divine=
|domain=Metal
|cast=1 action
|range=60 feet
|components=V, S, M
|duration=Instantaneous
|area=5-foot-radius, 40 feet high
}}