Template:5e24 Spell: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
|Action_Type=String | |Action_Type=String | ||
|Spell_Range=String | |Spell_Range=String | ||
|Spell_Area=String | |||
|Component=List (, ) of String | |Component=List (, ) of String | ||
|Valuable_Component=Boolean | |Valuable_Component=Boolean | ||
|Consumable_Component=Boolean | |Consumable_Component=Boolean | ||
|Summary=Wikitext | |Summary=Wikitext | ||
|Level=String (allowed values= | |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 | |Canon_Spell=Boolean | ||
|Target=List (, ) of String | |||
|Attack=List (, ) of String | |||
|Save=List (, ) of String | |||
|Damage=List (, ) of String | |||
|Effect=List (, ) of String | |||
|Domain_Spell=List (, ) of String | |Domain_Spell=List (, ) of String | ||
|Subclass_Bonus=List (, ) of String | |Subclass_Bonus=List (, ) of String | ||
| Line 22: | Line 28: | ||
|Species_Spell=List (, ) of String | |Species_Spell=List (, ) of String | ||
}}</noinclude><includeonly> | }}</noinclude><includeonly> | ||
<div style="display:block; margin-right:201px;"> | |||
<span style="display:inline; font-size: 1.4em; text-align:left;">'''{{{name}}}'''</span>{{#if: {{{refs|}}}| {{{refs}}}|}} ({{5e24|Spell}}){{#if: {{{pointer|}}}| ([[pointer]])|}}<br /> | <span style="display:inline; font-size: 1.4em; text-align:left;">'''{{{name}}}'''</span>{{#if: {{{refs|}}}| {{{refs}}}|}} ({{5e24|Spell}}){{#if: {{{pointer|}}}| ([[pointer]])|}}<br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Level:</span> {{#switch: {{{level}}} | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue;">Level:</span><span style="display:inline-block; width:calc(100% - 7rem);"> {{#switch: {{{level}}} | ||
|0 = 0-level ({{5e24lc|Cantrip}}) | |0 = 0-level ({{5e24lc|Cantrip}}) | ||
|1 = 1st-level | |1 = 1st-level | ||
| Line 30: | Line 37: | ||
|Cantrip = 0-level ({{5e24lc|Cantrip}}) | |Cantrip = 0-level ({{5e24lc|Cantrip}}) | ||
|{{{level}}}th-level spell | |{{{level}}}th-level spell | ||
}}''<br /> | }}''</span><br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Casters:</span> {{5e24 Caster List|{{{casters}}}|nodb={{{nodb|}}}}}<br /> | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue;">Casters:</span><span style="display:inline-block; width:calc(100% - 7rem);"> {{5e24 Caster List|{{{casters}}}|nodb={{{nodb|}}}}}</span><br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">School:</span> | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue;">School:</span><span style="display:inline-block; width:calc(100% - 7rem);"> {{5e24|{{{school}}}}}</span><br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Casting Time:</span> <span style="display:inline-block; | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue;">Casting Time:</span><span style="display:inline-block; width:calc(100% - 7rem);"> {{#switch: {{{casttime}}} | ||
|action = {{5e24|Action}} | |action = {{5e24|Action}} | ||
|reaction = {{5e24|Reaction}} | |reaction = {{5e24|Reaction}} | ||
| Line 41: | Line 48: | ||
|{{{casttime}}} | |{{{casttime}}} | ||
}}{{#if: {{{casttext|}}}|, {{{casttext}}}|}}{{#if: {{{ritual|}}}| ({{5e24|Ritual}})|}}</span><br /> | }}{{#if: {{{casttext|}}}|, {{{casttext}}}|}}{{#if: {{{ritual|}}}| ({{5e24|Ritual}})|}}</span><br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Range: </span> {{{range}}}<br /> | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue;">Range{{#if: {{{area|}}}| (Area)|}}: </span><span style="display:inline-block; width:calc(100% - 7rem);"> {{{range}}}{{#if: {{{area|}}}| ({{{area}}})|}}</span><br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Components:</span> <span style="display:inline-block; | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue;">Components:</span><span style="display:inline-block; width:calc(100% - 7rem);"> {{{comp}}}{{#if: {{{material|}}}| ({{{material}}})|<!--endif material-->}}</span><br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Duration:</span> {{#if: {{{concentration|}}}|{{5e24|Concentration}}, {{{dur}}}|{{#ifeq: {{{dur}}}|i|Instantaneous|{{{dur}}} | }} | }}<br /> | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue;">Duration:</span><span style="display:inline-block; width:calc(100% - 7rem);"> {{#if: {{{concentration|}}}|{{5e24|Concentration}}, {{{dur}}}|{{#ifeq: {{{dur}}}|i|Instantaneous|{{{dur}}} | }} | }}</span><br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Scales:</span> {{#if: {{{scales|}}}|True|{{#if: {{{higherlevels|}}}|True|Fasle}}}}{{#if: {{{ | <span style="display:inline-block; width:7rem; text-align:left; vertical-align:top; background:AliceBlue; border-bottom:solid 1px steelblue;">Scales:</span><span style="display:inline-block; width:calc(100% - 7rem);"> {{#if: {{{scales|}}}|True|{{#if: {{{higherlevels|}}}|True|Fasle}}}}</span><!-- | ||
<span style="display:inline-block; width:7rem; text-align:left; background: | --extras-- | ||
-->{{#if: {{{target|}}}|<br /> | |||
<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; background: | <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; background: | <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; background: | <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;"> {{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}}|, }}</span>|}}{{#if: {{{effect|}}}|<br /> | ||
-->{{#if: {{{racespell|}}}|<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;"> {{#arraymap: {{{effect}}}|, |xEffect|{{5e24|xEffect}}|, }}</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;"> {{#arraymap: {{{offlistcaster}}}|,|xolc|{{5e24|xolc}}|, }}</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;"> {{5e24 Other Caster Spell List|{{{name|}}}}}</span> | |||
{{#if: {{{racespell|}}}|<br /> | |||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Racial Spell of:</span> {{5e24 Racial Spell Races|{{{racespell|}}}}}|}}{{#if: {{{subclassspell|}}}|<br /> | <span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Racial Spell of:</span> {{5e24 Racial Spell Races|{{{racespell|}}}}}|}}{{#if: {{{subclassspell|}}}|<br /> | ||
<span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Subclass Spell of:</span> {{#arraymap: {{{subclassspell|}}}|,|xSubC|{{5e24|xSubC}}|, }}|}}< | <span style="display:inline-block; width:7rem; text-align:left; background:AliceBlue;">Subclass Spell of:</span> {{#arraymap: {{{subclassspell|}}}|,|xSubC|{{5e24|xSubC}}|, }}|}} | ||
</div> | |||
{{#if: {{{fluff|}}}|''{{{fluff}}}''<br /><br />|}} | {{#if: {{{fluff|}}}|''{{{fluff}}}''<br /><br />|}} | ||
{{#if: {{{rules|}}}|{{{rules}}}|{{#if: {{{summary|}}}|'''Unofficial Description:''' {{{summary}}}<br /><br />|}}|}} | {{#if: {{{rules|}}}|{{{rules}}}|{{#if: {{{summary|}}}|'''Unofficial Description:''' {{{summary}}}<br /><br />|}}|}} | ||
{{#if: {{{higherlevels|}}}|<br /><br />{{#ifeq: {{{level}}}|0|'''''Cantrip Upgrade.'''''|'''''Using a Higher-Level Spell Slot.'''''|}} {{{higherlevels|}}}|}}{{#if: {{{nodb|}}}|<!--skip-->|<!-- | {{#if: {{{higherlevels|}}}|<br /><br />{{#ifeq: {{{level}}}|0|'''''Cantrip Upgrade.'''''|'''''Using a Higher-Level Spell Slot.'''''|}} {{{higherlevels|}}}|}} | ||
{{#if: {{{nodb|}}}|<!--skip-->|<!-- | |||
-- Cargo Store -- | -- Cargo Store -- | ||
-->{{#cargo_store: _table = 5e24_Spell | -->{{#cargo_store: _table = 5e24_Spell | ||
| Line 70: | Line 82: | ||
}} | }} | ||
|Spell_Range={{{range|}}} | |Spell_Range={{{range|}}} | ||
|Spell_Area={{{area|}}} | |||
|Component={{{comp|}}} | |Component={{{comp|}}} | ||
|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={{{casters|}}} | |Casters={{{casters|}}} | ||
|School={{ucfirst:{{{school|}}}}} | |School={{ucfirst:{{{school|}}}}} | ||
|Scalable={{#if: {{{scales|}}}|1|{{#if: {{{higherlevels|}}}|1}}}} | |Scalable={{#if: {{{scales|}}}|1|{{#if: {{{higherlevels|}}}|1}}}} | ||
| | |Target={{#if: {{{target|}}}|{{#arraymap: {{{target}}}|, |xTarget|xTarget|, }}|}} | ||
| | |Attack={{#if: {{{attack|}}}|{{#arraymap: {{{attack}}}|, |xAttack|{{5e24|xAttack}}}}|}} | ||
|Save={{#if: {{{save|}}}|{{#arraymap: {{{save}}}|, |xSave|{{5e24|xSave}}|}}|}} | |||
|Damage={{#if: {{{damage|}}}|{{#arraymap: {{{damage}}}|, |xDamage|{{5e24|xDamage}}}}|}} | |||
|Effect={{#if: {{{effect|}}}|{{#arraymap: {{{effect}}}|, |xEffect|{{5e24|xEffect}}}}|}} | |||
|Subclass_Bonus={{#if: {{{subclassspell|}}}|{{{subclassspell}}}|{{#if: {{{domainspell|}}}|{{{domainspell}}}|}}|}}<!-- | |||
|Offlist_Caster={{#if: {{{offlistcaster|}}}|{{#arraymap: {{{offlistcaster}}}|, |xOtherCaster|xOtherCaster|}}|}}--> | |||
}}<!-- | }}<!-- | ||
--Categories-- | --Categories-- | ||
| Line 89: | 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 | }}{{#if: {{{school|}}}|[[Category:5e24 {{{school}}} Spells]]| }}{{#if: {{{casters|}}}|{{#arraymap: {{{casters|}}}|, |xCaster|[[Category:5e24 xCaster Spells]]|\s}}|}}{{#if: {{{vcomp|}}}|[[Category:5e24 Valuable Component Spells]]|}}{{#if: {{{ccomp|}}}|[[Category:5e24 Consumable Component Spells]]|}}{{#if: {{{concentation|}}}|[[Category:5e24 Concentration Spells]]|}}{{#if: {{{racespell|}}}|[[Category:5e24 Species Spells]]{{#arraymap: {{{speciesspell|}}}|, |xSpecies|[[Category:5e24 xSpecies Spells]]|\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 xsubcl Spells]]|\s}}|}}{{#if: {{{pointer|}}}|[[Category:5e24 Pointers]]|}}{{#if: {{{offlistcaster|}}}|{{#arraymap: {{{offlistcaster|}}}|,|xolc|[[Category:5e24 xolc Spells]]|\s}}|}} | ||
}}<!--endif nodb--> | }}<!--endif nodb--> | ||
</includeonly><noinclude>{{template badge}}{{tocright}} | </includeonly><noinclude>{{template badge}}{{tocright}} | ||
| Line 110: | Line 128: | ||
|casttext= <!-- text after casting time, ex. reaction condition --> | |casttext= <!-- text after casting time, ex. reaction condition --> | ||
|range= <!-- 60 feet --> | |range= <!-- 60 feet --> | ||
|area= <!-- 30 foot cube--> | |||
|comp= <!-- V, S, M --> | |comp= <!-- V, S, M --> | ||
|material= <!--{freeform} diamond worth 50gp--> | |material= <!--{freeform} diamond worth 50gp--> | ||
|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= | |||
|save= | |||
|damage= | |||
|effect= | |||
|summary= <!-- summary of spell --> | |summary= <!-- summary of spell --> | ||
|fluff= <!-- if spell has fluff-text --> | |fluff= <!-- if spell has fluff-text --> | ||
| Line 121: | Line 145: | ||
</pre> | </pre> | ||
===Add'l Optional Entries=== | ===Add'l Optional Entries=== | ||
<pre>|vcomp= <!-- blank or true. valuable component. material has gp value? --> | <pre> | ||
|area= <!--blank or area--> | |||
|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--> | |||
|pointer= <!--blank or true> | |pointer= <!--blank or true> | ||
|speciespell= <!--blank, links to race/subrace--> | |speciespell= <!--blank, links to race/subrace--> | ||
| Line 140: | Line 166: | ||
|casttext= <!-- text after casting time, ex. reaction condition --> | |casttext= <!-- text after casting time, ex. reaction condition --> | ||
|range=Touch | |range=Touch | ||
|area= | |||
|comp=V, S, M | |comp=V, S, M | ||
|material=A forked stick | |material=A forked stick | ||
|concentration=y | |concentration=y | ||
|dur=up to 1 {{5e24lc|Minute}} | |dur=up to 1 {{5e24lc|Minute}} | ||
|target=Creature | |||
|attack=Melee | |||
|save= | |||
|damage=Psychic | |||
|effect= | |||
|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). | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 165: | Line 195: | ||
|casttext= <!-- text after casting time, ex. reaction condition --> | |casttext= <!-- text after casting time, ex. reaction condition --> | ||
|range=Touch | |range=Touch | ||
|area= | |||
|comp=V, S, M | |comp=V, S, M | ||
|material=A forked stick | |material=A forked stick | ||
|concentration=y | |concentration=y | ||
|dur=up to 1 {{5e24lc|Minute}} | |dur=up to 1 {{5e24lc|Minute}} | ||
|target=Creature | |||
|attack=Melee | |||
|save= | |||
|damage=Psychic | |||
|effect= | |||
|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). | ||
|nodb=true | |nodb=true | ||
}} | }} | ||
Latest revision as of 06:30, 28 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).
- Foo's Guide to Nothing p. 103. Licensed: CC-BY-SA ↑