Template:Spell page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
m (Fixed pageseo school issue if no school of magic is specified)
 
(207 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<includeonly>[[File:{{{image}}}|frameless|right]]
<includeonly>{{#lvardef: filename | {{#replace:{{#replace:{{#replace:{{#replace:{{#titleparts: {{PAGENAME}} }}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}}}}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#lvar: filename}} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#lvar: filename}} Icon.webp }} }}{{#switch: {{{this is an example}}}
{{#switch: {{{template preview}}}
| yes =
| yes =
| #default = {{#seo:
| #default = {{PageSeo|image = {{#lvar: controllericon}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}}
  | site_name = Baldur's Gate 3 Wiki - bg3.wiki
| cantrip
  | image = {{{image}}}
| cantrip {{#if: {{{school|}}} | ({{{school}}}) }}
  | description = {{{name|{{PAGENAME}}}}} is a {{#ifeq: {{{level}}} | cantrip | {{{school}}} Cantrip | Level {{{level}}} {{{school}}} Spell }} available to {{#invoke:ParseClassList|plain|{{{classes}}}}}{{{plain summary | {{{summary}}} }}}
| Level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}. {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}} }}} {{{plain summary|{{{summary}}} }}}
   }}
   }}
}}
}}
{{{name|{{PAGENAME}}}}} is a [[Spells|{{#ifeq: {{{level}}} | cantrip | {{{school}}} Cantrip | Level {{{level}}} {{{school}}} Spell }}]] available to {{#invoke:ParseClassList|linked|{{{classes}}}}}.  {{{summary}}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> __NOTOC__
{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}


== Description ==
'''{{{name|{{PAGENAME}} }}}''' is a [[Spells|{{#ifeq: {{{level}}} | cantrip | cantrip {{#if: {{{school|}}} | ({{{school}}}) }} | level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}]]. {{{summary}}} {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}}


{{{description}}}
<h2> Description </h2>


== Properties ==
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
 
{{{extra description}}}
 
}}{{#if: {{{warning|}}} | {{blank}}
 
<p>{{Colour|white|{{{warning}}}}}</p>


{{#if: {{{damage|}}} |
{{DamageInfo
| {{{damage}}}
| {{{damage type}}}
| modifier = {{{damage modifier|}}}
| save = {{{damage save|}}}
| save effect = {{{damage save effect|}}}
}}
}}
}}


* {{#switch: {{{action type}}}
<h2> Properties </h2>
   | action = {{Action}}
 
   | bonus = {{Action|bonus}}
<div class="bg3wiki-property-list">
   }} {{#ifeq: {{{level}}} | cantrip | |
{{#if: {{{cost|}}} |
     + {{SmallIcon|Spell Slot Icon.png}} Level {{{level}}} Spell Slot
; Cost
   }} {{#if: {{{attack roll|}}} |
: {{InfoBlob|{{ResourceList|{{{cost}}}}}}}
* {{Attack Roll}}
}} {{#if: {{{hit cost|}}} |
}} {{#if: {{{range|}}} |
; Cost on hit
* {{Range | {{{range}}} }} |
: {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}}
* {{Range | m = {{range m}} | ft = {{range ft}} }}
}} {{#if: {{{damage|}}} |
; {{#ifeq: {{{damage type|}}} | Healing | Healing | Damage }}
: {{DamageInfo
  | {{{damage}}}
  | {{{damage type}}}
   | modifier = {{{damage modifier|}}}
   | save = {{{damage save|}}}
   | save effect = {{{damage save effect|}}}
  | save dc = {{{damage save dc|}}}
  | con = {{{damage con|}}}
  | per = {{{damage per|}}}
  }}
}} {{#if: {{{extra damage|}}} |
: + {{DamageInfo
    | {{{extra damage}}}
    | {{{extra damage type}}}
    | modifier = {{{extra damage modifier|}}}
    | save = {{{extra damage save|}}}
    | save effect = {{{extra damage save effect|}}}
     | save dc = {{{extra damage save dc|}}}
    | con = {{{extra damage con|}}}
    | per = {{{extra damage per|}}}
    }}
}} {{#if: {{{extra damage 2|}}} |
: + {{DamageInfo
    | {{{extra damage 2}}}
    | {{{extra damage type 2}}}
    | modifier = {{{extra damage modifier 2|}}}
    | save = {{{extra damage save 2|}}}
    | save effect = {{{extra damage save effect 2|}}}
    | save dc = {{{extra damage save dc 2|}}}
    | con = {{{extra damage con 2|}}}
    | per = {{{extra damage per 2|}}}
    }}
}} {{#if: {{{extra damage 3|}}} |
: + {{DamageInfo
    | {{{extra damage 3}}}
    | {{{extra damage type 3}}}
    | modifier = {{{extra damage modifier 3|}}}
    | save = {{{extra damage save 3|}}}
    | save effect = {{{extra damage save effect 3|}}}
    | save dc = {{{extra damage save dc 3|}}}
    | con = {{{extra damage con 3|}}}
    | per = {{{extra damage per 3|}}}
    }}
}} {{#if: {{{healing|}}} |
; Healing
: {{HealingInfo
  | {{{healing}}}
   | modifier = {{{healing modifier|}}}
  | per = {{{healing per|}}}
  }}
}} {{#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. -->
}} {{#if: {{{attack roll|}}} |
: {{Attack Roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}
}} {{#if: {{{save|}}} |
: {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }}
}} {{#if: {{{range m|}}} {{{range ft|}}}
| : {{Range | {{{range|}}} | m = {{{range m}}} | ft = {{{range ft}}} }}
| {{#if: {{{range|}}}
  | : {{Range | {{{range}}} }}
  }}
}} {{#if: {{{aoe|}}} |
}} {{#if: {{{aoe|}}} |
* {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }}
: {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }}
}} {{#if: {{{area|}}} |
: {{SmallIcon | Aoe Icon.png }} Creates Area: {{{area}}}
}} {{#if: {{{ritual|}}} |
: {{Ritual Spell}}
}} {{#if: {{{recharge|}}} |
: {{Recharge | {{{recharge}}} }}
}} {{#if: {{{concentration|}}} |
}} {{#if: {{{concentration|}}} |
* {{Concentration}}
: {{Concentration}}
}} {{#if: {{{area|}}} |
}} <!-- If you add any further detail fields above, make sure to extend the #if above it to display the "Details" header as well. -->
* {{SmallIcon|Aoe Icon.png}} Creates Area: {{{area}}}
</div>
}} {{#if: {{{condition|}}} | {{blank}}
<h2> At higher levels </h2>
{{#if: {{{higher levels|}}} | {{main namespace only|[[Category:Spells that gain benefits at higher levels]]}}
{{{higher levels}}}
| <p>Casting this spell at a higher level grants no additional benefit. </p>
}} {{clear}}</div> {{#if: {{{variants|}}} |


== Condition: {{{condition}}} ==
<h2> Variants </h2>


{{#if: {{{condition description|}}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
| {{icon| {{{condition icon}}} |40}} '''{{{condition}}}:''' {{{condition description}}}
{{#invoke: ParseList | main | {{{variants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
| {{icon| {{{condition icon}}} |40}} '''{{{condition}}}'''
</div>
}}{{#if: {{{condition effects|}}} | {{blank}}


{{{condition effects|}}}
}} {{#if: {{{condition|}}} |
}}


{{InfoBlob | {{Duration | {{{condition duration}}} }} }}
<h2> Condition: {{{condition}}} </h2>


}} <!-- / condition --> {{#if: {{{area|}}} | {{blank}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| dc = {{{condition dc|}}}
| duration = {{{condition duration|}}}
}}
{{Main namespace only|{{Inflicts|{{{condition|}}}|sai|type=spell|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}} }}
</div>


== Area: {{{area}}} ==
}} {{#if: {{{condition2|}}} |


The spell creates {{#switch: {{{area category}}}
<h2> Condition: {{{condition2}}} </h2>
| cloud = a cloud
| surface = a surface
| #default = an area
}} with the following properties.


* {{AOE | {{{area shape}}} | m = {{{area range m}}} | ft = {{{area range ft}}} }}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
* {{Duration | {{{area duration}}} }} {{#if: {{{area turn start damage|}}} | {{blank}}
{{Condition | {{{condition2}}}
 
| save = {{{condition2 save|}}}
Creatures starting their turn in the area suffer:
| dc = {{{condition2 dc|}}}
{{DamageInfo
| duration = {{{condition2 duration|}}}
| {{{area turn start damage}}}
| {{{area turn start damage type}}}
| save = {{{area turn start damage save|}}}
| save effect = {{{area turn start damage save effect|}}}
}}
}}
}} <!-- / area turn start damage --> {{#if: {{{area turn end damage|}}} | {{blank}}
{{Main namespace only|{{Inflicts|{{{condition2|}}}|sai|type=spell|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}} }}
</div>


Creatures ending their turn in the area suffer:
}} {{#if: {{{area|}}} |
{{DamageInfo
| {{{area turn end damage}}}
| {{{area turn end damage type}}}
| save = {{{area turn end damage save|no}}}
| save effect = {{{area turn end damage save effect|}}}
}}
}} <!-- / area turn end damage --> {{#if: {{{area condition|}}} | {{blank}}


Creatures within the area are affected by the following conditions:
<h2> Area: {{{area}}} </h2>
* [[{{{area condition}}}]] {{#if: {{{area condition 2|}}} |
* [[{{{area condition 2}}}]]
}} {{#if: {{{area condition 3|}}} |
* [[{{{area condition 3}}}]]
}} {{#if: {{{area condition 4|}}} |
* [[{{{area condition 4}}}]]
}}
}} <!-- / area condition -->
}} <!-- / area --> {{#if: {{{higher levels|}}} | {{blank}}


== At Higher Levels ==
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
</div>
}} <!-- / area -->


{{{higher levels}}}
<h2> How to learn </h2>
{{#lvardef: how-to-learn-content |
  {{#lvardef: classes-learn-list |
    {{#loop: level | 1 | 12 |
      {{#if: {{{ class learns at level {{#var:level}}|}}} | {{blank}}
      {{#lvardef:classes|{{#explode: {{{class learns at level {{#var:level}} |}}}|:|0}},{{#lvar:classes}} }}
* Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class/Format }}
      }}
    }}
  }}{{#lvardef: races-learn-list |
    {{#loop: level | 1 | 20 |
      {{#if: {{{ race learns at level {{#var:level}} |}}} | {{blank}}
* Character level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | makeLinks = yes }}
      }}
    }}
  }}{{#if: {{#lvar:classes-learn-list}} |
Classes:
{{#lvar:classes-learn-list}}
  }}{{#if: {{#lvar:races-learn-list}} | {{blank}}


}}
Races:
{{#lvar:races-learn-list}}


{{#switch: {{{template preview|}}}
(''Character level'' is the sum of all class levels for a multi-classed character.)
| yes =
  }}{{#if: {{{granted by feats|}}} | {{blank}}
| #default = [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} [[Category:{{{school}}} Spells]]
}}</includeonly><noinclude>


Template for generating an entire page for a spell.  Examples follow. __NOTOC__
Feats: {{#invoke: ParseList | main | {{{granted by feats}}} | type = htmlList| useTemplate = SAI/fixedSmall }}
  }}{{#if: {{{granted by items|}}} | {{blank}}


= Acid Splash =
Granted by the following items:


{{SpellPage
{{#invoke: ParseList | main | {{{granted by items}}} | type = htmlList | useTemplate = GrantedByItems/Format }}
| name = Acid Splash
  }}{{#if: {{{used by creatures|}}} | {{blank}}
| image = Acid Splash.png
| level = cantrip
| school = Conjuration
| classes = Sorcerer, Wizard, Eldritch Knight, Arcane Trickster
| summary = It deals Acid damage to enemies in a small area.
| description = Hurl a bubble of acid that deals {{DamageText|1d6|Acid}} damage to each creature it hits in a small area.
| action type = action
| damage = 1d6
| damage type = Acid
| damage save = Dexterity
| range = ranged
| aoe = Radius
| aoe m = 2
| aoe ft = 7
| higher levels =
When the spellcaster reaches Level 5, the damage increases by another 1d6, for a total of:


{{DamageInfo | 2d6 | Acid}}
Used by creatures:
| template preview = yes <!-- For preview on template page only -->
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
}}
  }}{{#if: {{{variant of|}}} | {{blank}}
 
This spell is a variation of:<br>
{{SAI|{{{variant of}}}|w=40}}
  }}{{#if: {{{other ways to learn|}}} | {{blank}}
 
Other ways to learn:


= Chill Touch =
{{{other ways to learn}}}
  }}
}}<div class="bg3wiki-tooltip-box">
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }}
</div>{{#if: {{{notes|}}} |


{{SpellPage
<h2> Notes </h2>
| name = Chill Touch
| image = Chill Touch Icon.png
| level = cantrip
| school = Necromancy
| classes = Sorcerer, Warlock, Wizard, Eldritch Knight, Arcane Trickster
| summary = It deals Necrotic damage and prevents the target from regaining hit points.
| description = Assail a creature with the chill of the grave. It takes {{DamageText|1d8|Necrotic}} damage and cannot regain [[Hit Points]]. Undead creatures also get {{Disadvantage}} on [[Attack Roll]]s.
| action type = action
| damage = 1d8
| damage type = Necrotic
| range = ranged
| condition = Chill Touch
| condition icon = Chill Touch Condition Icon.png
| condition effects =
* Can not regain [[Hit Points]]
* If Undead, has {{Disadvantage}} on [[Attack Roll]]s
| condition duration = 1
| higher levels =
When the spellcaster reaches Level 5, the damage increases by another 1d8, for a total of:


{{DamageInfo | 2d8 | Necrotic}}
<div class="bg3wiki-tooltip-box">
| template preview = yes <!-- For preview on template page only -->
{{{notes}}}
}}
</div>
}} {{#if: {{{bugs|}}} |


= Blade Ward =
<h2> Bugs </h2>


{{SpellPage
<div class="bg3wiki-tooltip-box">
| name = Blade Ward
{{{bugs}}}
| image = Blade Ward Icon.png
{{Main namespace only|[[Category:Bugs]]}}
| level = cantrip
</div>
| school = Abjuration
}} {{#if: {{{video|}}} |
| classes = Bard, Sorcerer, Wizard, Warlock, Eldritch Knight, Arcane Trickster
| summary = It allows spellcasters to become more resilient against physical damage.
| description = The caster gains resistance against {{DamageType|Bludgeoning}}, {{DamageType|Piercing}}, and {{DamageType|Slashing}} damage dealt by weapon attacks for two turns. Damage of these types is halved.
| action type = action
| range = self
| condition = Blade Ward
| condition icon = Blade Ward Condition Icon.png
| condition description = Resistance against {{DamageType|Bludgeoning}}, {{DamageType|Piercing}}, and {{DamageType|Slashing}} damage dealt by weapon attacks. Damage of these types is halved.
| condition duration = 2
| template preview = yes <!-- For preview on template page only -->
}}


= Hunger of Hadar =
<h2> Visuals </h2>


{{SpellPage
[[File:{{{video}}}]]
| name = Hunger of Hadar
| image = Hunger of Hadar Icon.png
| level = 3
| school = Conjuration
| classes = Warlock
| summary = 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 {{DamageText|2d6|Cold}} damage.  Creatures ending their turn in the area possibly take {{DamageText|2d6|Acid}} damage.


The area is [[Conditions#Difficult Terrain|Difficult Terrain]] and creatures within are [[Conditions#Blinded|Blinded]].
| action type = action
| attack roll = yes
| range = ranged
| aoe = radius
| aoe m = 10
| aoe ft = 35
| damage = 1d10
| damage type = Fire
| damage modifier = Spellcasting
| damage save = Dexterity
| damage save effect = half
| concentration = yes
| area = Hunger of Hadar
| area category = cloud
| area shape = Radius
| area range m = 6
| area range ft = 20
| area duration = 10
| area turn start damage = 2d6
| area turn start damage type = Cold
| area turn start damage save = none
| area turn start damage save effect =
| area turn end damage = 2d6
| area turn end damage type = Acid
| area turn end damage save = Dexterity
| area turn end damage save effect = half damage
| area condition = Difficult Terrain
| area condition 2 = Blinded
| template preview = yes <!-- For preview on template page only -->
}}
}}
 
{{#if: {{{area category|}}}{{{area turn start damage|}}}{{{area turn end damage|}}}{{{area condition|}}}{{{area condition 2|}}}{{{area condition 3|}}}{{{area condition 4|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}} }}
[[Category:Page Generating Templates]]
{{#switch: {{{this is an example}}}
</noinclude>
| yes =
| #default = {{Main namespace only|[[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} {{#if: {{{school|}}} | [[Category:{{{school|}}} spells]]}}{{#if: {{{ritual|}}} | [[Category:Ritual spells]]}} {{#cargo_store:
_table = spells
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| controller_icon = {{#lvar:controllericon}}
| icon = {{#lvar:icon}}
| spell_level = {{#ifeq:{{{level|}}}|cantrip|0|{{{level|}}} }}
| spell_school = {{{school|}}}
| is_concentration = {{#if:{{{concentration|}}}|yes}}
| is_ritual = {{#if:{{{ritual|}}}|yes}}
| is_spell = yes
| is_weapon_action = no
| aoe = {{{aoe|}}}
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }}
| is_npc = {{#if:{{{npc only|}}}|yes}}
| can_upcast = {{#if:{{{higher levels|}}}|yes}}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| description = {{{description|}}}
| extra_description = {{{extra description|}}}
| action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}}
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }}
<!-- A little logic to try to make sure the list of classes only contains unique values. -->
| classes = {{{classes|}}}
| save = {{{save|}}}
| damage = {{{damage|}}}
| damage_type = {{{damage type|}}}
| damage_modifier = {{{damage modifier|}}}
| extra_damage = {{{extra damage|}}}
| extra_damage_type = {{{extra damage type|}}}
| extra_damage_modifier = {{{extra damage modifier|}}}
| extra_damage_2 = {{{extra damage 2|}}}
| extra_damage_type_2 = {{{extra damage type 2|}}}
| extra_damage_modifier_2 = {{{extra damage modifier 2|}}}
| extra_damage_3 = {{{extra damage 3|}}}
| extra_damage_type_3 = {{{extra damage type 3|}}}
| extra_damage_modifier_3 = {{{extra damage modifier 3|}}}
| damage_save = {{{damage save|{{{condition save|}}} }}}
| is_healing = {{#if:{{{healing|}}}|yes}}
| condition_duration = {{{condition duration|}}}
| recharge = {{{recharge|}}}
}}
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
_table = spells
| name = String
| image = File
| controller_icon = File
| icon = File
| spell_level = String
| spell_school = String
| is_spell = Boolean
| is_weapon_action = Boolean
| is_concentration = Boolean
| is_ritual = Boolean
| aoe = String
| aoe_size = String
| is_npc = Boolean
| can_upcast = Boolean
| has_attack_roll = Boolean
| description = Wikitext
| extra_description = Wikitext
| brief = Wikitext
| action_type = String
| spell_range = String
| classes = List (,) of String
| save = String
| damage = String
| damage_type = String
| damage_modifier = String
| extra_damage = String
| extra_damage_type = String
| extra_damage_modifier = String
| extra_damage_2 = String
| extra_damage_type_2 = String
| extra_damage_modifier_2 = String
| extra_damage_3 = String
| extra_damage_type_3 = String
| extra_damage_modifier_3 = String
| damage_save = String
| is_healing = String
| condition_duration = String
| recharge = String
}}</noinclude>

Latest revision as of 04:23, 31 October 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)

How to learn

Classes:

Notes

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

Bugs

  • Some known bug about this spell.


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.