Template:Spell page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Simplify by using MediaWiki's builtin dd/dt/dl syntax.)
mNo edit summary
Line 29: Line 29:
; {{#ifeq: {{{damage type|}}} | Healing | Healing | Damage }}
; {{#ifeq: {{{damage type|}}} | Healing | Healing | Damage }}
: {{DamageInfo
: {{DamageInfo
    | {{{damage}}}
  | {{{damage}}}
    | {{{damage type}}}
  | {{{damage type}}}
    | modifier = {{{damage modifier|}}}
  | modifier = {{{damage modifier|}}}
    | save = {{{damage save|}}}
  | save = {{{damage save|}}}
    | save effect = {{{damage save effect|}}}
  | save effect = {{{damage save effect|}}}
    | save dc = {{{damage save dc|}}}
  | save dc = {{{damage save dc|}}}
    | con = {{{damage con|}}}
  | con = {{{damage con|}}}
    | per = {{{damage per|}}}
  | per = {{{damage per|}}}
    }}
  }}
}} {{#if: {{{extra damage|}}} |
}} {{#if: {{{extra damage|}}} |
: + {{DamageInfo
: + {{DamageInfo
    | {{{extra damage}}}
    | {{{extra damage}}}
    | {{{extra damage type}}}
    | {{{extra damage type}}}
    | modifier = {{{extra damage modifier|}}}
    | modifier = {{{extra damage modifier|}}}
    | save = {{{extra damage save|}}}
    | save = {{{extra damage save|}}}
    | save effect = {{{extra damage save effect|}}}
    | save effect = {{{extra damage save effect|}}}
    | save dc = {{{extra damage save dc|}}}
    | save dc = {{{extra damage save dc|}}}
    | con = {{{extra damage con|}}}
    | con = {{{extra damage con|}}}
    | per = {{{extra damage per|}}}
    | per = {{{extra damage per|}}}
    }}
    }}
}} {{#if: {{{extra damage 2|}}} |
}} {{#if: {{{extra damage 2|}}} |
: + {{DamageInfo
: + {{DamageInfo
    | {{{extra damage 2}}}
    | {{{extra damage 2}}}
    | {{{extra damage type 2}}}
    | {{{extra damage type 2}}}
    | modifier = {{{extra damage modifier 2|}}}
    | modifier = {{{extra damage modifier 2|}}}
    | save = {{{extra damage save 2|}}}
    | save = {{{extra damage save 2|}}}
    | save effect = {{{extra damage save effect 2|}}}
    | save effect = {{{extra damage save effect 2|}}}
    | save dc = {{{extra damage save dc 2|}}}
    | save dc = {{{extra damage save dc 2|}}}
    | con = {{{extra damage con 2|}}}
    | con = {{{extra damage con 2|}}}
    | per = {{{extra damage per 2|}}}
    | per = {{{extra damage per 2|}}}
    }}
    }}
}} {{#if: {{{extra damage 3|}}} |
}} {{#if: {{{extra damage 3|}}} |
: + {{DamageInfo
: + {{DamageInfo
    | {{{extra damage 3}}}
    | {{{extra damage 3}}}
    | {{{extra damage type 3}}}
    | {{{extra damage type 3}}}
    | modifier = {{{extra damage modifier 3|}}}
    | modifier = {{{extra damage modifier 3|}}}
    | save = {{{extra damage save 3|}}}
    | save = {{{extra damage save 3|}}}
    | save effect = {{{extra damage save effect 3|}}}
    | save effect = {{{extra damage save effect 3|}}}
    | save dc = {{{extra damage save dc 3|}}}
    | save dc = {{{extra damage save dc 3|}}}
    | con = {{{extra damage con 3|}}}
    | con = {{{extra damage con 3|}}}
    | per = {{{extra damage per 3|}}}
    | per = {{{extra damage per 3|}}}
    }}
    }}
}} {{#if: {{{healing|}}} |
}} {{#if: {{{healing|}}} |
; Healing
; Healing
: {{HealingInfo
: {{HealingInfo
    | {{{healing}}}
  | {{{healing}}}
    | modifier = {{{healing modifier|}}}
  | modifier = {{{healing modifier|}}}
    | per = {{{healing per|}}}
  | per = {{{healing per|}}}
    }}
  }}
}} {{#if: {{{attack roll|}}} {{{save|}}} {{{range|}}} {{{range m|}}} {{{range ft|}}} {{{aoe|}}} {{{area|}}} {{{ritual|}}} {{{recharge|}}} {{{concentration|}}} |
}} {{#if: {{{attack roll|}}} {{{save|}}} {{{range|}}} {{{range m|}}} {{{range ft|}}} {{{aoe|}}} {{{area|}}} {{{ritual|}}} {{{recharge|}}} {{{concentration|}}} |
; Details <!-- If you add any further detail fields below, make sure to extend the list above as well. -->
; Details <!-- If you add any further detail fields below, make sure to extend the list above as well. -->

Revision as of 20:43, 24 April 2024

Template documentation

This is a template for generating an entire pre-formatted page for a spell or spell-like ability.

Scroll to the bottom of the page for full documentation of template parameters.

Usage example:

{{SpellPage
| name =
| image =
| icon =
| level =
| school =
| ritual =
| class learns at level 1 =
| class learns at level 2 =
| race learns at level 1 =
| race learns at level 2 =
| summary =
| description =
| extra description = 
| brief =
| cost =
| hit cost =
| attack roll =
| on miss =
| damage =
| damage modifier =
| damage type =
| damage save =
| damage save effect =
| damage save dc =
| damage per =
| extra damage =
| extra damage modifier = 
| extra damage type =
| extra damage save =
| extra damage save effect =
| extra damage save dc =
| extra damage per =
| concentration =
| save = 
| save dc =
| on save =
| range =
| range m =
| range ft =
| aoe =
| aoe m =
| aoe ft =
| condition =
| condition duration =
| condition save =
| condition dc =
| condition2 =
| condition2 duration =
| condition2 save =
| condition2 dc =
| area =
| area shape = 
| area range m =
| area range ft =
| area duration =
| warning =
| higher levels =
| granted by feats = 
| granted by items =
| used by creatures = 
| other ways to learn =
| variants =
| variant of =
| notes =
| bugs =
| video =
| npc only =
}}

Examples of the template are below:

Acid Splash

Acid Splash.webp

Acid Splash is a cantrip (Conjuration). It deals Acid damage to enemies in a small area.

Description

Hurl a bubble of acid that deals 1d6Damage TypesAcid damage to each creature it hits in a small area.

Properties

Cost
Action
Damage
D6 Acid.png 1d6 (1~6) Damage TypesAcid (Dexterity save to negate)
Details
 Range: 18 m / 60 ft
AoE: 2 m / 7 ft (Radius)

At higher levels

When the spellcaster reaches Level 5, the damage increases by another 1d6, for a total of:

D6 Acid.png 2d6 (2~12) Damage TypesAcid

Variants

How to learn

Classes:

Races:

(Character level is the sum of all class levels for a multi-classed character.)

Feats:


Bg3 content hr.png

Bone Chill

Bone Chill.webp

Bone Chill is a cantrip (Necromancy). It deals Necrotic damage and prevents the target from regaining hit points.

Description

Assail a creature with the chill of the grave. It takes 1d8Damage TypesNecrotic damage and cannot regain Hit Points. Undead creatures also get Disadvantage Icon.png Disadvantage on Attack Rolls.

Properties

Cost
Action
Damage
D8 Necrotic.png 1d8 (1~8) Damage TypesNecrotic
Details
 Range: 18 m / 60 ft

At higher levels

When the spellcaster reaches Level 5, the damage increases by another 1d8, for a total of:

D8 Necrotic.png 2d8 (2~16) Damage TypesNecrotic

Condition: Bone Chilled

Bone Chilled Bone Chilled

Duration: 1 turn

How to learn

(Information not yet added.)


Bg3 content hr.png

Blade Ward

Blade Ward.webp

Blade Ward is a cantrip (Abjuration). It allows spellcasters to become more resilient against physical damage.

Description

The caster gains resistance against Damage TypesBludgeoning, Damage TypesPiercing, and Damage TypesSlashing damage dealt by weapon attacks for two turns. Damage of these types is halved.

Properties

Cost
Action
Details
 Range: Self

At higher levels

Casting this spell at a higher level grants no additional benefit.

Condition: Blade Ward

Blade Ward Blade Ward

Duration: 2 turns

How to learn

Granted by the following items:


Bg3 content hr.png

Hunger of Hadar

Hunger of Hadar.webp

Hunger of Hadar is a level 3 conjuration spell. It allows the caster to create a sphere of cold blackness, teeming with unknown horrors.

Description

Create a sphere of cold blackness, teeming with unknown horrors. Creatures starting their turn in the area take 2d6Damage TypesCold damage. Creatures ending their turn in the area possibly take 2d6Damage TypesAcid damage.

The area is Difficult Terrain and creatures within are Blinded.

Properties

Cost
Action + Level 3 Spell Slot
Damage
D10 Fire.png 1d10 (1~10) + Spellcasting modifier Damage TypesFire (Dexterity save to halve)
Details
Attack roll
 Range: 18 m / 60 ft
AoE: 10 m / 35 ft (Radius)
Creates Area: Hunger of Hadar (area)
Concentration Concentration

At higher levels

Casting this spell at a higher level grants no additional benefit.

Variants

Area: Hunger of Hadar (area)

The spell creates an area with the following properties.

  • AoE: 6 m / 20 ft (Radius)
  • Duration: 10 turns

How to learn

Classes:

Notes

  • Here's some notes just for testing purposes.
  • Two note entries even.


Bg3 content hr.png

Aid

Aid.webp

Aid is a level 2 abjuration spell. It allows spellcasters to heal and embolden their allies and themselves with resolve. Affected creatures have their maximum hit points increased for the duration of the spell. It cannot be learned by players and is only used by NPCs.

Description

Bolster your allies with toughness and resolve to heal and increase their hit point maximum.

Properties

Cost
Action + Level 2 Spell Slot
Details
 Range: Self
AoE: 9 m / 30 ft (Radius)

At higher levels

Casting this spell at a higher level grants no additional benefit.

Condition: Aid

Aid Aid
  • Hit point maximum increased by 5hit points.
  • Hit point maximum increases by a further 5hit points for every Spell Slot Level above 2 used.

How to learn

Classes:

Other ways to learn:

Bg3 content hr.png

This page template creates an entire spell page for a given spell.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Spell namename

The name of the spell, as it is displayed.

Example
Fireball
Stringsuggested
Spell imageimage

This is the spell's in-game 380x380 tooltip image.

Example
Fireball.webp
Stringsuggested
Spell iconicon

This is the spell's in-game 144x144 controller UI icon.

Example
Fireball Icon.webp
Stringsuggested
Spell levellevel

This is the level of the spell. Use "cantrip" to indicate a 0th level or cantrip spell.

Suggested values
cantrip 1 2 3 4 5 6
Example
2
Stringsuggested
Spell schoolschool

The school of magic that the spell belongs to.

Suggested values
Abjuration Conjuration Divination Enchantment Evocation Illusion Necromancy Transmutation
Example
Evocation
Stringsuggested
ritualritual

Indicates whether the spell is a ritual spell or not. Leave blank if not a ritual spell.

Example
yes
Stringoptional
class learns at level Xclass learns at level X

This specifies what level the classes get access to this spell. Use e.g. "class learns at level 5" with a comma-separated list of classes to specify classes that learn this spell at class level 5. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringsuggested
race learns at level Xrace learns at level X

This specifies what level the races get access to this spell. Use e.g. "race learns at level 5" with a comma-separated list of races to specify which races learn this spell at level 5. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringsuggested
Spell description summarysummary

A short summary of the spell. This appears at the top of the page and on link previews.

Example
This spell allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.
Contentsuggested
Spell descriptiondescription

This is the full in-game description of the spell. Try to reflect the in-game description as closely as possible.

Example
Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.
Contentrequired
Extra descriptionextra description

The extra in-game description of the spell, shown when the tooltip is locked on screen.

Contentoptional
Brief descriptionbrief

Minimal description with as little visual clutter (like in-line icons) as possible, for use in infoboxes and the like.

Contentoptional
costcost

The resource needed to cast this spell.

Suggested values
action bonus reaction spell1 l1
Example
action
Stringsuggested
hit costhit cost

The resource expended when the spell hits the target.

Suggested values
bonus reaction spell1 l1
Example
bonus
Stringsuggested
attack rollattack roll

Whether the spell creates an attack roll or not and what type. Leave blank if no attack roll is made.

Suggested values
yes melee weapon melee spell melee unarmed melee off-hand weapon ranged weapon ranged spell ranged unarmed ranged off-hand weapon
Default
No
Stringoptional
on misson miss

Used in conjunction with 'attack roll' describes what happens if the spell misses its attack roll.

Suggested values
Targets still take half damage.
Example
Targets still take half damage.
Stringoptional
damagedamage

The amount of damage dealt by the spell's primary effect, in dice. Leave blank if the spell does not directly deal damage.

Example
3d6
Stringoptional
damage modifierdamage modifier

What stats (if any) get added to the damage dealt.

Suggested values
Strength Dexterity Constitution Wisdom Intelligence Charisma melee ranged finesse Spellcasting
Example
Spellcasting
Stringoptional
damage typedamage type

The type of damage that spell deals.

Suggested values
Acid Cold Fire Force Healing Lightning Necrotic Poison Radiant Thunder Psychic Physical Piercing Bludgeoning Slashing
Example
Fire
Stringoptional
damage savedamage save

The save (if any) that a target must roll against the damage effect of the spell.

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
Dexterity
Stringoptional
damage save effectdamage save effect

What happens on a successful save. Leave blank to default to "negate".

Suggested values
half negate
Default
negate
Example
half
Stringoptional
damage save dcdamage save dc

Use this parameter if the spell's has a fixed saving throw DC

Example
15
Numberoptional
damage perdamage per

Optional descriptor that indicates that the damage occurs every time something happens,

Example
damage per = missile; damage per = turn
Stringoptional
concentrationconcentration

Whether the spell requires the caster to maintain concentation. "Yes" if it does, leave blank otherwise.

Suggested values
Yes No
Default
No
Example
Yes
Stringoptional
savesave

The saving throw stat commonly used by this spell

Suggested values
DEX STR WIS
Example
WIS
Stringoptional
save dcsave dc

The saving throw DC

Suggested values
16 caster weapon action
Example
15
Stringoptional
on saveon save

Used in conjunction with 'save', describes what happens when the target successfully makes their saving throw.

Suggested values
Targets still take half damage.
Example
Targets still take half damage.
Stringoptional
rangerange

The range of the spell.

Suggested values
ranged melee self
Example
ranged
Stringoptional
range mrange m

Use this parameter if the spell's range does not fit into one of the presets, "melee", "ranged", or "self". Indicates the range in meters.

Example
5
Numberoptional
range ftrange ft

Use this parameter if the spell's range does not fit into one of the presets, "melee", "ranged", or "self". Indicates the range in feet.

Example
35
Numberoptional
aoeaoe

Indicates if the spell affects an area, and what type of shape its effect is.

Suggested values
radius cone cube line
Example
cone
Stringoptional
aoe maoe m

This indicates the range of the spell's aoe shape, in meters.

Example
5
Numberoptional
aoe ftaoe ft

This indicates the range of the spell's aoe shape, in feet.

Example
15
Numberoptional
conditioncondition

The full name of the condition (if any) that this spell applies to its target/s. Leave blank if there is no condition.

Example
Hastened
Stringoptional
condition durationcondition duration

The duration in turns of the spell's applied condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition savecondition save

The save that the spell's target must roll to avoid or reduce its effects. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition dccondition dc

The dc of the spell's applied condition. Leave blank if the dc is unknown.

Example
13, caster, weapon action
Stringoptional
condition2condition2

The full name of the second condition (if any) that this spell applies to its target/s. Leave blank if there is no second condition.

Example
Hastened
Stringoptional
condition2 durationcondition2 duration

The duration in turns of the spell's second applied condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition2 savecondition2 save

The second save that the spell's target must roll to avoid or reduce its effects. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition2 dccondition2 dc

The dc of the spell's second applied condition. Leave blank if the dc is unknown.

Example
13, caster, weapon action
Stringoptional
Spell area namearea

Indicates the page of a special area/field/surface/cloud created by the spell (if any). Leave blank if there is none.

Example
Hunger of Hadar (area)
Stringoptional
area shapearea shape

This indicates the shape that the special area created by the spell takes.

Suggested values
Radius Cone Cube
Example
Radius
Stringoptional
area range marea range m

Indicates the range of the area created by spell, in meters.

Example
5
Numberoptional
area range ftarea range ft

Indicates the range of the area created by spell, in feet.

Example
12
Numberoptional
area durationarea duration

This indicates how long the area created by the spell lasts, in turns.

Example
6
Numberoptional
warningwarning

Warning text for the tooltip that doesn't belong in the description.

Stringoptional
higher levelshigher levels

This describes what happens when the spell is casting using a higher than normal spell slot.

Example
When the spell is cast at 2nd Level or higher, the damage increases 1d6 Fire damage for each spell slot level above 1st.
Contentoptional
variantsvariants

Comma-separated list of variants of the spell, like the element types of Chromatic Orb.

Example
Chromatic Orb: Fire, Chromatic Orb: Ice, Chromatic Orb: Acid, ...
Stringoptional
variant ofvariant of

The spell that is the parent of this spell

Example
Chromatic Orb
Stringoptional
notesnotes

Any extra or related information about the spell.

Contentoptional
bugsbugs

Any known bugs about the spell.

Contentoptional
videovideo

Name of an uploaded video file showcasing the spell.

Fileoptional
rechargerecharge

The frequency of recharge for this spell, if any.

Suggested values
Long Rest Short Rest Per Combat
Stringoptional
other ways to learnother ways to learn

Will be inserted directly into the How to Learn section after all the other ways of learning.

Stringoptional
npc onlynpc only

If specified, will mark the spell as unable to be learned by players.

Booleanoptional
This template defines the table "spells". View table.