No edit summary |
No edit summary |
||
Line 101: | Line 101: | ||
---- | ---- | ||
{{SpellTableHeader}} | {{SpellTableHeader}} | ||
{{#if:{{{level|}}}|{{SpellTableRow|'''''Level'''''|''''' | {{#if:{{{level|}}}|{{SpellTableRow|'''''Level'''''| | ||
'''''{{ | |||
#switch:{{{level}}} | #switch:{{{level}}} | ||
| 0 = Cantrip | | 0 = Cantrip | ||
Line 109: | Line 109: | ||
| 3 = 3rd | | 3 = 3rd | ||
| {{level}}th | | {{level}}th | ||
}} | }}''''' | ||
}} | }} | ||
}} | }} |
Revision as of 13:35, 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=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