Template:5e24 Spell: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 58: Line 58:
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">{{5e24|Save}}:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{save}}}|, |xsave|{{5e24|xsave}}|,&ensp;}}</span>|}}{{#if: {{{damage|}}}|<br />
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">{{5e24|Save}}:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{save}}}|, |xsave|{{5e24|xsave}}|,&ensp;}}</span>|}}{{#if: {{{damage|}}}|<br />
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">{{5e24|Damage}}:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}}|,&ensp;}}</span>|}}{{#if: {{{effect|}}}|<br />
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">{{5e24|Damage}}:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}}|,&ensp;}}</span>|}}{{#if: {{{effect|}}}|<br />
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">Effect:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{effect}}}|, |xEffect|{{5e24|xEffect}}|,&ensp;}}</span>|}}{{#if: {{{offlistcaster|}}}|<br />
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">Effect:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{effect}}}|, |xEffect|{{5e24|xEffect}}|,&ensp;}}</span>|}}<!--{{#if: {{{offlistcaster|}}}|<br />
<span style="display:inline-block; width:7rem; vertical-align:top; text-align:left; background:Lavender;">Offlist Casters:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{offlistcaster}}}|,|xolc|{{5e24|xolc}}|,&ensp;}}</span>|}}<br />
<span style="display:inline-block; width:7rem; vertical-align:top; text-align:left; background:Lavender;">Offlist Casters:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{#arraymap: {{{offlistcaster}}}|,|xolc|{{5e24|xolc}}|,&ensp;}}</span>|}}--><br />
<span style="display:inline-block; width:7rem; vertical-align:top; text-align:left; background:Lavender;">Other Casters:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{5e24 Other Caster Spell List|{{{name|}}}}}</span>
<span style="display:inline-block; width:7rem; vertical-align:top; text-align:left; background:Lavender;">Other Casters:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;">&nbsp;{{5e24 Other Caster Spell List|{{{name|}}}}}</span>
{{#if: {{{racespell|}}}|<br />
{{#if: {{{racespell|}}}|<br />
Line 96: Line 96:
|Damage={{#if: {{{damage|}}}|{{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}}}}|}}
|Damage={{#if: {{{damage|}}}|{{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}}}}|}}
|Effect={{#if: {{{effect|}}}|{{#arraymap: {{{effect}}}|, |xEffect|{{5e24|xEffect}}}}|}}
|Effect={{#if: {{{effect|}}}|{{#arraymap: {{{effect}}}|, |xEffect|{{5e24|xEffect}}}}|}}
|Subclass_Bonus={{#if: {{{subclassspell|}}}|{{{subclassspell}}}|{{#if: {{{domainspell|}}}|{{{domainspell}}}|}}|}}  
|Subclass_Bonus={{#if: {{{subclassspell|}}}|{{{subclassspell}}}|{{#if: {{{domainspell|}}}|{{{domainspell}}}|}}|}}<!--
|Offlist_Caster={{#if: {{{offlistcaster|}}}|{{#arraymap: {{{offlistcaster}}}|, |xOtherCaster|xOtherCaster|}}|}}
|Offlist_Caster={{#if: {{{offlistcaster|}}}|{{#arraymap: {{{offlistcaster}}}|, |xOtherCaster|xOtherCaster|}}|}}-->
}}<!--
}}<!--
--Categories--
--Categories--
Line 107: Line 107:
   |Cantrip = [[Category:5e24 Cantrips]]   
   |Cantrip = [[Category:5e24 Cantrips]]   
   |[[Category:5e24 Spells {{{level}}}th Level]]  
   |[[Category:5e24 Spells {{{level}}}th Level]]  
   }}{{#if: {{{school|}}}|[[Category:5e24 {{{school}}} Spells]]| }}{{#if: {{{casters|}}}|{{#arraymap: {{{casters|}}}|, |xCaster|[[Category:5e24 {{Type Array|xCaster}}]]|\s}}|}}{{#if: {{{vcomp|}}}|[[Category:5e24 Valuable Component Spells]]|}}{{#if: {{{ccomp|}}}|[[Category:5e24 Consumable Component Spells]]|}}{{#if: {{{concentation|}}}|[[Category:5e24 Concentration Spells]]|}}{{#if: {{{domainspell|}}}|[[Category:5e24 Domain Spells]]|}}{{#if: {{{racespell|}}}|[[Category:5e24 Species Spells]]{{#arraymap: {{{speciesspell|}}}|, |xSpecies|[[Category:5e24 {{Type Array|xSpecies}}]]|\s}}|}}{{#if: {{{higherlevels|}}}|[[Category:5e24 Scalable Spells]]|{{#if: {{{scales|}}}|[[Category:5e24 Scalable Spells]]|}}}}{{#if: {{{domainspell|}}}|[[Category:5e24 Domain Spells]]|}}{{#if: {{{subclassspell|}}}|[[Category:5e24 Subclass Bonus Spells]]{{#arraymap: {{{subclassspell|}}}|, |xsubcl|[[Category:5e24 {{Type Array|xsubcl}}]]|\s}}|}}{{#if: {{{pointer|}}}|[[Category:5e24 Pointers]]|}}{{#if: {{{offlistcaster|}}}|{{#arraymap: {{{offlistcaster|}}}|,|xolc|[[Category:5e24 {{Type Array|xolc}}]]|\s}}|}}
   }}{{#if: {{{school|}}}|[[Category:5e24 {{{school}}} Spells]]| }}{{#if: {{{casters|}}}|{{#arraymap: {{{casters|}}}|, |xCaster|[[Category:5e24 {{Type Array|xCaster}}]]|\s}}|}}{{#if: {{{vcomp|}}}|[[Category:5e24 Valuable Component Spells]]|}}{{#if: {{{ccomp|}}}|[[Category:5e24 Consumable Component Spells]]|}}{{#if: {{{concentation|}}}|[[Category:5e24 Concentration Spells]]|}}{{#if: {{{domainspell|}}}|[[Category:5e24 Domain Spells]]|}}{{#if: {{{racespell|}}}|[[Category:5e24 Species Spells]]{{#arraymap: {{{speciesspell|}}}|, |xSpecies|[[Category:5e24 {{Type Array|xSpecies}}]]|\s}}|}}{{#if: {{{higherlevels|}}}|[[Category:5e24 Scalable Spells]]|{{#if: {{{scales|}}}|[[Category:5e24 Scalable Spells]]|}}}}{{#if: {{{domainspell|}}}|[[Category:5e24 Domain Spells]]|}}{{#if: {{{subclassspell|}}}|[[Category:5e24 Subclass Bonus Spells]]{{#arraymap: {{{subclassspell|}}}|, |xsubcl|[[Category:5e24 {{Type Array|xsubcl}}]]|\s}}|}}{{#if: {{{pointer|}}}|[[Category:5e24 Pointers]]|}}<!--{{#if: {{{offlistcaster|}}}|{{#arraymap: {{{offlistcaster|}}}|,|xolc|[[Category:5e24 {{Type Array|xolc}}]]|\s}}|}}-->
}}<!--endif nodb-->
}}<!--endif nodb-->
</includeonly><noinclude>{{template badge}}{{tocright}}
</includeonly><noinclude>{{template badge}}{{tocright}}
Line 149: Line 149:
|vcomp= <!-- blank or true. valuable component. material has gp value? -->
|vcomp= <!-- blank or true. valuable component. material has gp value? -->
|ccomp= <!-- blank or true. comsumable component. material consumed in casting? -->
|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-->
<!--|offlistcaster= list of classes/subclasses that can cast this spell outside their normal spell group-->
|pointer= <!--blank or true>
|pointer= <!--blank or true>
|speciespell= <!--blank, links to race/subrace-->
|speciespell= <!--blank, links to race/subrace-->
Line 180: Line 180:
|rules= You make an {{5e24lc|Melee}} {{5e24lc|Spell Attack}} against a creature. If successful the target takes d6 {{5e24lc|Psychic}} {{5e24lc|Damage}}.
|rules= You make an {{5e24lc|Melee}} {{5e24lc|Spell Attack}} against a creature. If successful the target takes d6 {{5e24lc|Psychic}} {{5e24lc|Damage}}.
|higherlevels=This spell's damage increases by 1d6 when you reach level 5 (2d6), 11 (3d6), and 17 (4d6).
|higherlevels=This spell's damage increases by 1d6 when you reach level 5 (2d6), 11 (3d6), and 17 (4d6).
|offlistcaster=Bar, Nilbog
|subclassspell=
}}
}}
</pre>
</pre>
Line 211: Line 209:
|rules= You make an {{5e24lc|Melee}} {{5e24lc|Spell Attack}} against a creature. If successful the target takes d6 {{5e24lc|Psychic}} {{5e24lc|Damage}}.
|rules= You make an {{5e24lc|Melee}} {{5e24lc|Spell Attack}} against a creature. If successful the target takes d6 {{5e24lc|Psychic}} {{5e24lc|Damage}}.
|higherlevels=This spell's damage increases by 1d6 when you reach level 5 (2d6), 11 (3d6), and 17 (4d6).
|higherlevels=This spell's damage increases by 1d6 when you reach level 5 (2d6), 11 (3d6), and 17 (4d6).
|offlistcaster=Bar, Nilbog
|subclassspell=
|nodb=true
|nodb=true
}}
}}

Revision as of 16:44, 1 November 2025

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.-->
|target=
|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}} 
|target=Creature
|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 {{5e24lc|Melee}} {{5e24lc|Spell Attack}} against a creature. If successful the target takes d6 {{5e24lc|Psychic}} {{5e24lc|Damage}}.
|higherlevels=This spell's damage increases by 1d6 when you reach level 5 (2d6), 11 (3d6), and 17 (4d6).
}}

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
Target: Creature
Attack: Melee
Damage: Psychic
Other Casters: —

You wave your hands in the air spouting gibberish

You make an melee spell attack against a creature. 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