Template:Spell info/doc

From Campaigns
Jump to navigation Jump to search

Parameters

Creates a spell info table.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
spell namename

The name of the spell.

Example
True Strike
Stringrequired
spell levellevel

The level of the spell. Use 0 for cantrips.

Example
0
Numberrequired
cast timecast

Action or time required to cast the spell. You can use "BA" or "A" for Bonus Action or Action.

Example
BA
Stringrequired
ritual flagritual

Whether the spell can be cast as a ritual (adding 10 minutes to the cast time in order to cast it without using a spell slot).

Default
(omitted)
Example
Stringoptional
spell rangerange

The range and area of the spell effect.

Example
30 ft
Stringrequired
verbal flagverbal

Whether the spell has a verbal component. Leave empty for false.

Default
(omitted)
Example
Stringoptional
somatic flagsomatic

Whether the spell has a somatic component. Leave empty for false.

Default
(omitted)
Example
true
Stringoptional
material flagmaterial

Whether the spell has material components. Leave empty for false.

Default
(omitted)
Example
Stringoptional
material componentscomponents

Material components for the spell. Should be included if material is set

Default
(omitted)
Example
Stringoptional
spell durationduration

How long the spell lasts.

Example
1 Round
Stringrequired
concentration requiredconcentration

Set to true if the spell requires concentration.

Default
(omitted)
Example
Stringoptional
spell schoolschool

The school of magic to which the spell belongs. Must be one of Abjuration, Conjuration, Divination, Enchantment, Evocation, Illusion, Necromancy, or Transmutation.

Example
Divination
Stringrequired
attack typeattack

The type of attack made with the spell. Must be one of Ranged or Melee.

Default
(the value of the save parameter)
Example
Stringoptional
save typesave

The saving throw made against the spell. Must be one of Strength, Constitution, Dexterity, Intelligence, Wisdom, or Charisma.

Default
None
Example
Stringoptional
damage typedamage

The type of damage dealt by the spell when it his or the target fails a save. Must be one of Bludgeoning, Piercing, Slashing, Acid, Cold, Fire, Force, Lightning, Necrotic, Poison, Psychic, Radiant, or Thunder.

Default
(the value of the effect parameter)
Example
Stringoptional
spell effecteffect

A category to place a non-damaging spell effect in. Required if damage parameter is omitted.

Example
Foreknowledge
Stringoptional
has additional spell effectsadditional

Set to true if the spell has additional damage types or effects beyond the first.

Default
(omitted)
Example
Stringoptional
spell descriptiondescription

The full text of the spell.

Example
You point a finger at a target in range. Your magic grants you a brief insight into the target's defenses. The next attack roll you make before the spell ends has advantage.
Stringrequired
spell listslists

The spell lists which contain the spell.

Example
<li>Bard</li><li>Sorcerer</li><li>Warlock</li><li>Wizard</li>
Stringrequired
toggle tooltip versiontooltip

Whether the spell info block is being used in a tooltip.

Default
(omitted)
Example
Stringoptional

Examples

{{spell info
|name=True Strike
|level=0
|cast=BA
|range=30 ft
|somatic=true
|duration=1 Round
|school=Divination
|effect=Foreknowledge
|description=You point a finger at a target in range. Your magic grants you a brief insight into the target's defenses. The next attack roll you make before the spell ends has advantage.
|lists=<li>Bard</li><li>Sorcerer</li><li>Warlock</li><li>Wizard</li>}}
True Strike
Level Casting time Range/Area Components
Cantrip 1 Bonus Action 30 ft S
Duration School Attack/Save Damage/Effect
1 Round Divination None Foreknowledge

You point a finger at a target in range. Your magic grants you a brief insight into the target's defenses. The next attack roll you make before the spell ends has advantage.

Available for:
  • Bard
  • Sorcerer
  • Warlock
  • Wizard