Template:Spell: Difference between revisions

Template page
No edit summary
Tags: Manual revert wikieditor
added "cantrip" for cast time
 
(One intermediate revision by the same user not shown)
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:

|cast=full
|cast=standard
|cast=major
|cast=minor
|cast=quick
|cast=reaction
|cast=full action
|cast=standard action
|cast=major action
|cast=minor action
|cast=quick action
 

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
}}