No edit summary Tag: wikieditor |
added "cantrip" for cast time |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Spell/doc}}</noinclude> | <noinclude>{{Spell/doc}}</noinclude> | ||
<includeonly | <includeonly>{{ | ||
#ifeq: {{PAGENAME}} | {{{name}}} | #ifeq: {{PAGENAME}} | {{{name}}} | ||
| {{Spell/CSS}}[[Category:Spell]] | | {{Spell/CSS}}[[Category:Spell]] | ||
Line 52: | Line 52: | ||
}} | }} | ||
{{#if:{{{domain|}}} | [[Category:{{{domain}}}_Spell]] | }} | {{#if:{{{domain|}}} | [[Category:{{{domain}}}_Spell]] | }} | ||
}} | }} | ||
{{SpellTableHeader}} | {{SpellTableHeader}} | ||
{{#if:{{{level|}}}|{{SpellTableRow|{{#tag:span|{{#switch: {{{level}}} | 0 = Cantrip | 1 = 1st Level | 2 = 2nd Level | 3 = 3rd Level | #default = {{{level}}}th Level}}|class="spell"}}|}}|}} | {{#if:{{{level|}}}|{{SpellTableRow|{{#tag:span|{{#switch: {{{level}}} | 0 = Cantrip | 1 = 1st Level | 2 = 2nd Level | 3 = 3rd Level | #default = {{{level}}}th Level}}|class="spell"}}|}}|}} | ||
Line 66: | Line 66: | ||
| Standard Action | Standard action | standard action | Standard | standard = [[Standard Action]] ([[AP|3 AP]]) | | Standard Action | Standard action | standard action | Standard | standard = [[Standard Action]] ([[AP|3 AP]]) | ||
| Major Action | Major action | major action | Major | major = [[Standard Action]] ([[AP|3 AP]]) | | Major Action | Major action | major action | Major | major = [[Standard Action]] ([[AP|3 AP]]) | ||
| Cantrip | cantrip = [[Cantrip]] ([[AP|2 AP]]) | |||
| Minor Action | Minor action | minor action | Minor | minor = [[Minor Action]] ([[AP|2 AP]]) | | Minor Action | Minor action | minor action | Minor | minor = [[Minor Action]] ([[AP|2 AP]]) | ||
| Quick Action | Quick action | quick action | Quick | quick = [[Quick Action]] ([[AP|1 AP]]) | | Quick Action | Quick action | quick action | Quick | quick = [[Quick Action]] ([[AP|1 AP]]) | ||
Line 73: | Line 74: | ||
{{#if:{{{range|}}}|{{SpellTableRow|'''Range'''|{{{range|}}} }}|}} | {{#if:{{{range|}}}|{{SpellTableRow|'''Range'''|{{{range|}}} }}|}} | ||
{{#if:{{{area|}}}|{{SpellTableRow|'''Area'''|{{{area|}}} }}|}} | {{#if:{{{area|}}}|{{SpellTableRow|'''Area'''|{{{area|}}} }}|}} | ||
{{#if:{{{components|}}}|{{SpellTableRow|'''[[Component]]s'''|{{{components|}}} }}|}} | {{#if:{{{components|}}}|{{SpellTableRow|'''[[Component]](s)'''|{{{components|}}} }}|}} | ||
{{#if:{{{duration|}}}|{{SpellTableRow|'''Duration'''|{{{duration|}}} }}|}} | {{#if:{{{duration|}}}|{{SpellTableRow|'''Duration'''|{{{duration|}}} }}|}} | ||
{{SpellTableFooter}} | {{SpellTableFooter}} | ||
---- | ---- | ||
</includeonly> | </includeonly> |
Latest revision as of 10:58, 24 July 2024
Usage
{{Spell
|name=
|level=
|themes=
|domains=
|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
To set the theme(s) of the spell, write the theme name in lowercase and a space between each.
|themes=arcane divine occult primal
To set the domain(s) of the spell, write the Domain name in lowercase and a space between each.
|domains=earth elementus
The cast parameter auto formats if the following values are applied:
|
|
Example
NEED UPDATE
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=standard
|range=20 meter
|components=V, S, M
|duration=Instantaneous
|area=Cylinder, 2 meter radius, 14 meter high
}}