No edit summary |
No edit summary Tag: Reverted |
||
Line 22: | Line 22: | ||
---- | ---- | ||
The following parameters may be added to set the theme(s) of the spell. | The following parameters may be added to set the theme(s) of the spell. | ||
::<code><nowiki>|arcane=1</nowiki></code><br><code><nowiki>| | ::<code><nowiki>|arcane=1</nowiki></code><br><code><nowiki>|pine=1</nowiki></code><br><code><nowiki>|primal=1</nowiki></code><br><code><nowiki>|occult=1</nowiki></code><br> | ||
==Example== | ==Example== | ||
Line 31: | Line 31: | ||
<code><nowiki>|level=</nowiki>1</code><br> | <code><nowiki>|level=</nowiki>1</code><br> | ||
<code><nowiki>|arcane=</nowiki>1</code><br> | <code><nowiki>|arcane=</nowiki>1</code><br> | ||
<code><nowiki>| | <code><nowiki>|pine=</nowiki>1</code><br> | ||
<code><nowiki>|domain=</nowiki>Metal</code><br> | <code><nowiki>|domain=</nowiki>Metal</code><br> | ||
<code><nowiki>|cast=</nowiki>1 action</code><br> | <code><nowiki>|cast=</nowiki>1 action</code><br> | ||
Line 67: | Line 67: | ||
}} | }} | ||
|}} | |}} | ||
{{#if:{{{ | {{#if:{{{pine|}}}|[[Category:pine_Spell]] | ||
{{ | {{ | ||
#switch:{{{level}}} | #switch:{{{level}}} | ||
| 0 = [[Category: | | 0 = [[Category:pine_Cantrip]] | ||
| 1 = [[Category:1st- | | 1 = [[Category:1st-Level_pine_Spell]] | ||
| 2 = [[Category:2nd- | | 2 = [[Category:2nd-Level_pine_Spell]] | ||
| 3 = [[Category:3rd- | | 3 = [[Category:3rd-Level_pine_Spell]] | ||
| [[Category:{{{level}}}th- | | [[Category:{{{level}}}th-Level_pine_Spell]] | ||
}} | }} | ||
|}} | |}} | ||
Line 101: | Line 101: | ||
---- | ---- | ||
{{SpellTableHeader}} | {{SpellTableHeader}} | ||
{{#if:{{{level|}}}|{{SpellTableRow|'''''Level'''''|'''''{{#switch:{{{level|}}}| 0 = Cantrip | 1 = 1st | 2 = 2nd | 3 = 3rd | #default = {{{level|}}}th}}'''''}}}}{{#ifexpr: 0 + {{#if:{{{arcane|}}}|{{{arcane|}}}|0}} + {{#if:{{{ | {{#if:{{{level|}}}|{{SpellTableRow|'''''Level'''''|'''''{{#switch:{{{level|}}}| 0 = Cantrip | 1 = 1st | 2 = 2nd | 3 = 3rd | #default = {{{level|}}}th}}'''''}}}}{{#ifexpr: 0 + {{#if:{{{arcane|}}}|{{{arcane|}}}|0}} + {{#if:{{{pine|}}}|{{{pine|}}}|0}} + {{#if:{{{primal|}}}|{{{primal|}}}|0}} + {{#if:{{{occult|}}}|{{{occult|}}}|0}} > 0|{{SpellTableRowColStart|'''Theme(s)'''}}|}}{{#if:{{{arcane|}}}|{{#tag:p|Arcane}}}}{{#if:{{{pine|}}}|{{#tag:p|pine}}}}{{#if:{{{primal|}}}|{{#tag:p|Primal}}}}{{#if:{{{occult|}}}|{{#tag:p|Occult}}}} | ||
{{#if:{{{domain|}}}|{{SpellTableRow|'''Domain'''|{{{domain|}}} }}|}} | {{#if:{{{domain|}}}|{{SpellTableRow|'''Domain'''|{{{domain|}}} }}|}} | ||
{{SpellTableRow||}} | {{SpellTableRow||}} |
Revision as of 15:14, 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
|pine=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
|pine=1
|domain=Metal
|cast=1 action
|range=60 feet
|components=V, S, M
|duration=Instantaneous
|area=5-foot-radius, 40 feet high
}}
Template Components