Template:5e24 Spell: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 12: Line 12:
|Consumable_Component=Boolean
|Consumable_Component=Boolean
|Summary=Wikitext
|Summary=Wikitext
|Level=String (allowed values=Cantrip,1,2,3,4,5,6,7,8,9)
|Level=String (allowed values=0,1,2,3,4,5,6,7,8,9)
|Casters=List (, ) of String
|Casters=List (, ) of String
|School=String
|School=String
|Scalable=Boolean
|Scalable=Boolean
|Canon_Spell=Boolean
|Attack=List (, ) of String
|Save=List (, ) of String
|Damage=List (, ) of String
|Effect=List (, ) of String
|Subclass_Bonus=List (, ) of String
|Domain_Spell=List (, ) of String
|Domain_Spell=List (, ) of String
|Subclass_Bonus=List (, ) of String
|Subclass_Bonus=List (, ) of String
Line 83: Line 87:
--Data Store--
--Data Store--
-->{{#if: {{{nodb|}}}|<!--skip cargo store-->|{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip cargo store-->|{{#cargo_store:
_table = 5e24_Class
_table = 5e24_Spell
|where= Page_Name={{FULLPAGENAME}}
|where= _page_Name={{FULLPAGENAME}}
|SortText={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e24|{{PAGENAME}} 5e24|}}
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e24|{{PAGENAME}} 5e24|}}
|Spell_Name={{{name|}}}
|Spell_Name={{{name|}}}
|Ritual={{#if: {{{ritual|}}}|1}}
|Ritual={{#if: {{{ritual|}}}|1}}
|Concentration={{#if: {{{concentration|}}}|1}}
|Concentration={{#if: {{{concentration|}}}|1}}
|Casting_Time={{#switch: {{{casttime|}}}
|Action_Type={{#switch: {{{casttime|}}}
   |action = Action
   |action = Action
   |reaction = Reaction
   |reaction = Reaction
Line 95: Line 99:
   |#default = {{{casttime|}}}
   |#default = {{{casttime|}}}
}}
}}
|Range={{{range|}}}
|Spell_Range={{{range|}}}
|Component={{#arraymap: {{{comp|}}}|, |xcomp|xcomp|}}
|Component={{#arraymap: {{{comp|}}}|, |xcomp|xcomp}}
|Valuable_Component={{#if: {{{vcomp|}}}|1}}
|Valuable_Component={{#if: {{{vcomp|}}}|1}}
|Consumable_Component={{#if: {{{ccomp|}}}|1}}
|Consumable_Component={{#if: {{{ccomp|}}}|1}}
|Summary={{{summary|}}}
|Summary={{{summary|}}}
|Level={{{level|}}}
|Level={{{level|}}}
|Casters={{#arraymap: {{{casters|}}}|, |xcaster|xcaster|}}
|Casters={{#arraymap: {{{casters|}}}|, |xcaster|xcaster}}
|School={{ucfirst:{{{school|}}}}}
|School={{ucfirst:{{{school|}}}}}
|Scalable={{#if: {{{scales|}}}|1|{{#if: {{{higherlevels|}}}|1|}}}}
|Scalable={{#if: {{{scales|}}}|1|{{#if: {{{higherlevels|}}}|1|}}}}

Latest revision as of 20:36, 3 April 2026

This template defines the table "5e24_Spell". View table.

Template  ˢ 

Usage

Template for 5th edition (2024) spells.

Syntax

{{5e24 Spell
|name=
|sorttext=
|refs=
|level= <!--0 for cantrip-->
|casters= <!--Class that can cast-->
|school= <!-- Conjuration, Evocation, etc. -->
|ritual= <!-- y if ritual-->
|casttime= <!-- action, bonus, reaction, minute, hour, {freeform} -->
|casttext= <!-- text after casting time, ex. reaction condition -->
|range= <!-- 60 feet -->
|area= <!-- 30 foot cube-->
|comp= <!-- V, S, M -->
|material= <!--{freeform} diamond worth 50gp-->
|concentration= <!--y or blank-->
|dur= <!-- duration i=Instantaneous, else 1 round, 1 hour, etc.-->
|attack=
|save=
|damage=
|effect=
|summary= <!-- summary of spell -->
|fluff= <!-- if spell has fluff-text -->
|rules= <!-- text of spell mechanics -->
|higherlevels= <!-- blank or description of being cast at higher levels-->
}}

Add'l Optional Entries

|area= <!--blank or area-->
|vcomp= <!-- blank or true. valuable component. material has gp value? -->
|ccomp= <!-- blank or true. comsumable component. material consumed in casting? -->
|offlistcaster= <!--list of classes/subclasses that can cast this spell outside their normal spell group-->
|pointer= <!--blank or true>
|speciespell= <!--blank, links to race/subrace-->

Example

{{5e24 Spell
|name=foo
|sorttext=
|refs=<ref name="foo1">{{Cite Pub|Foo's Guide to Nothing|pages=103}} Licensed: [[CC-BY-SA]]</ref>
|level=0<!--0 for cantrip-->
|casters=Bard, Sorcerer
|school=Abjuration 
|ritual=  <!-- y if ritual-->
|casttime=action
|casttext= <!-- text after casting time, ex. reaction condition -->
|range=Touch
|area=
|comp=V, S, M 
|material=A forked stick 
|concentration=y 
|dur=up to 1 {{5e24lc|Minute}} 
|attack=Melee
|save=
|damage=Psychic
|effect=
|summary=foo produces foo effect
|fluff= You wave your hands in the air spouting gibberish
|rules= You make an unarmed melee attack. If successful the target takes d6 psychic damage.
|higherlevels=This spell's damage increases by 1d6 when you reach level 5 (2d6), 11 (3d6), and 17 (4d6).
|offlistcaster=Bar, Nilbog 
|subclassspell=
}}

Produces

foo[1] (Spell)
Level: 0-level (cantrip)
Casters: Bard, Sorcerer
School: Abjuration
Casting Time: Action
Range:  Touch
Components: V, S, M (A forked stick)
Duration: Concentration, up to 1 minute
Scales: True
ADDITIONAL INFO:[2]
Attack: Melee
Damage: Psychic
Other Casters: —
You wave your hands in the air spouting gibberish

You make an Melee attack or unarmed strike. If successful the target takes d6 Psychic damage.

Cantrip Upgrade. This spell's damage increases by 1d6 when you reach level 5 (2d6), 11 (3d6), and 17 (4d6).

  1. Foo's Guide to Nothing p. 103. Licensed: CC-BY-SA
  2. Unofficial information.