Template:5e24 Spell: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
|Scalable=Boolean | |Scalable=Boolean | ||
|Canon_Spell=Boolean | |Canon_Spell=Boolean | ||
|Target=List (, ) of String | |||
|Attack=List (, ) of String | |Attack=List (, ) of String | ||
|Save=List (, ) of String | |Save=List (, ) of String | ||
| Line 53: | Line 54: | ||
--extras-- | --extras-- | ||
-->{{#if: {{{offlistcaster|}}}|<br /> | -->{{#if: {{{offlistcaster|}}}|<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;"> {{#arraymap: {{{offlistcaster}}}|,|xolc|{{5e24|xolc}}|, }}</span>|}}{{#if: {{{attack|}}}|<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;"> {{#arraymap: {{{offlistcaster}}}|,|xolc|{{5e24|xolc}}|, }}</span>|}}{{#if: {{{target|}}}|<br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">{{5e24|Target}}:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;"> {{#arraymap: {{{target}}}|, |xTarget|xTarget|, }}</span>|}}{{#if: {{{attack|}}}|<br /> | |||
<span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">{{5e24|Attack}}:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;"> {{#arraymap: {{{attack}}}|, |xAttack|{{5e24|xAttack}}|, }}</span>|}}{{#if: {{{save|}}}|<br /> | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:Lavender;">{{5e24|Attack}}:</span><span style="display:inline-block; width:calc(100% - 7rem); background:ghostwhite;"> {{#arraymap: {{{attack}}}|, |xAttack|{{5e24|xAttack}}|, }}</span>|}}{{#if: {{{save|}}}|<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;"> {{#arraymap: {{{save}}}|, |xsave|{{5e24|xsave}}|, }}</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;"> {{#arraymap: {{{save}}}|, |xsave|{{5e24|xsave}}|, }}</span>|}}{{#if: {{{damage|}}}|<br /> | ||
| Line 93: | Line 95: | ||
|School={{ucfirst:{{{school|}}}}} | |School={{ucfirst:{{{school|}}}}} | ||
|Scalable={{#if: {{{scales|}}}|1|{{#if: {{{higherlevels|}}}|1}}}} | |Scalable={{#if: {{{scales|}}}|1|{{#if: {{{higherlevels|}}}|1}}}} | ||
|Attack={{#if: {{{attack|}}}|{{#arraymap: {{{attack}}}|, |xAttack|{{5e24|xAttack}} | |Target={{#if: {{{target|}}}|{{#arraymap: {{{target}}}|, |xTarget|xTarget|, }}|}} | ||
|Save={{#if: {{{save|}}}|{{#arraymap: {{{save}}}|, |xSave|{{5e24|xSave}}| | |Attack={{#if: {{{attack|}}}|{{#arraymap: {{{attack}}}|, |xAttack|{{5e24|xAttack}}}}|}} | ||
|Damage={{#if: {{{damage|}}}|{{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}} | |Save={{#if: {{{save|}}}|{{#arraymap: {{{save}}}|, |xSave|{{5e24|xSave}}|}}|}} | ||
|Effect={{#if: {{{effect|}}}|{{#arraymap: {{{effect}}}|, |xEffect|{{5e24|xEffect}} | |Damage={{#if: {{{damage|}}}|{{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}}}}|}} | ||
|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|}}}|{{{offlistcaster}}}|{{#if: {{{subclassspell|}}}|{{{subclassspell}}}|{{#if: {{{domainspell|}}}|{{{domainspell}}}|}}|}}|}} | |Offlist_Caster={{#if: {{{offlistcaster|}}}|{{{offlistcaster}}}|{{#if: {{{subclassspell|}}}|{{{subclassspell}}}|{{#if: {{{domainspell|}}}|{{{domainspell}}}|}}|}}|}} | ||
| Line 134: | Line 137: | ||
|concentration= <!--y or blank--> | |concentration= <!--y or blank--> | ||
|dur= <!-- duration i=Instantaneous, else 1 round, 1 hour, etc.--> | |dur= <!-- duration i=Instantaneous, else 1 round, 1 hour, etc.--> | ||
|target= | |||
|attack= | |attack= | ||
|save= | |save= | ||
| Line 171: | Line 175: | ||
|concentration=y | |concentration=y | ||
|dur=up to 1 {{5e24lc|Minute}} | |dur=up to 1 {{5e24lc|Minute}} | ||
|target=Creature | |||
|attack=Melee | |attack=Melee | ||
|save= | |save= | ||
| Line 177: | Line 182: | ||
|summary=foo produces foo effect | |summary=foo produces foo effect | ||
|fluff= You wave your hands in the air spouting gibberish | |fluff= You wave your hands in the air spouting gibberish | ||
|rules= You make an | |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 | |offlistcaster=Bar, Nilbog | ||
| Line 201: | Line 206: | ||
|concentration=y | |concentration=y | ||
|dur=up to 1 {{5e24lc|Minute}} | |dur=up to 1 {{5e24lc|Minute}} | ||
|target=Creature | |||
|attack=Melee | |attack=Melee | ||
|save= | |save= | ||
| Line 207: | Line 213: | ||
|summary=foo produces foo effect | |summary=foo produces foo effect | ||
|fluff= You wave your hands in the air spouting gibberish | |fluff= You wave your hands in the air spouting gibberish | ||
|rules= You make an {{ | |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 | |offlistcaster=Bar, Nilbog | ||
Revision as of 05:37, 15 October 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).
|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
Other Casters: Bar, Nilbog
Target: Creature
Attack: Melee
Damage: Psychic
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).
- Foo's Guide to Nothing p. 103. Licensed: CC-BY-SA ↑