Template:Spell info/doc: Difference between revisions
mNo edit summary |
mNo edit summary Tag: Reverted |
||
Line 160: | Line 160: | ||
|effect=Foreknowledge | |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. | |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</ | |lists=<span class="fake-li">Bard</span><span class="fake-li">Sorcerer</span><span class="fake-li">Warlock</span><span class="fake-li">Wizard</span>}}</pre> | ||
{{spell info | {{spell info | ||
|name=True Strike | |name=True Strike | ||
Line 171: | Line 171: | ||
|effect=Foreknowledge | |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. | |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</ | |lists=<span class="fake-li">Bard</span><span class="fake-li">Sorcerer</span><span class="fake-li">Warlock</span><span class="fake-li">Wizard</span>}} | ||
<includeonly>[[Category:homebrew templates]]</includeonly> | <includeonly>[[Category:homebrew templates]]</includeonly> |
Revision as of 17:02, 14 February 2022
This is a documentation subpage for Template:Spell info. It contains usage information, categories and other content that is not part of the original Template page. |
Parameters
Creates a spell info table.
Parameter | Description | Type | Status | |
---|---|---|---|---|
spell name | name | The name of the spell.
| String | required |
spell level | level | The level of the spell. Use 0 for cantrips.
| Number | required |
cast time | cast | Action or time required to cast the spell. You can use "BA" or "A" for Bonus Action or Action.
| String | required |
ritual flag | ritual | 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).
| String | optional |
spell range | range | The range and area of the spell effect.
| String | required |
verbal flag | verbal | Whether the spell has a verbal component. Leave empty for false.
| String | optional |
somatic flag | somatic | Whether the spell has a somatic component. Leave empty for false.
| String | optional |
material flag | material | Whether the spell has material components. Leave empty for false.
| String | optional |
material components | components | Material components for the spell. Should be included if material is set
| String | optional |
spell duration | duration | How long the spell lasts.
| String | required |
concentration required | concentration | Set to true if the spell requires concentration.
| String | optional |
spell school | school | The school of magic to which the spell belongs. Must be one of Abjuration, Conjuration, Divination, Enchantment, Evocation, Illusion, Necromancy, or Transmutation.
| String | required |
attack type | attack | The type of attack made with the spell. Must be one of Ranged or Melee.
| String | optional |
save type | save | The saving throw made against the spell. Must be one of Strength, Constitution, Dexterity, Intelligence, Wisdom, or Charisma.
| String | optional |
damage type | damage | 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.
| String | optional |
spell effect | effect | A category to place a non-damaging spell effect in. Required if damage parameter is omitted.
| String | optional |
has additional spell effects | additional | Set to true if the spell has additional damage types or effects beyond the first.
| String | optional |
spell description | description | The full text of the spell.
| String | required |
spell lists | lists | The spell lists which contain the spell.
| String | required |
toggle tooltip version | tooltip | Whether the spell info block is being used in a tooltip.
| String | optional |
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=<span class="fake-li">Bard</span><span class="fake-li">Sorcerer</span><span class="fake-li">Warlock</span><span class="fake-li">Wizard</span>}}

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.
- BardSorcererWarlockWizard