Template:Spell page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
("action type" supports "reaction" now.)
(Adding some documentation - not complete)
Line 47: Line 47:
   | action = {{Action}}
   | action = {{Action}}
   | bonus = {{Action|bonus}}
   | bonus = {{Action|bonus}}
  | reaction = {{Action|reaction}}
   }} {{#ifeq: {{{level}}} | cantrip | |
   }} {{#ifeq: {{{level}}} | cantrip | |
     + {{SmallIcon|Spell Slot Icon.png}} Level {{{level}}} Spell Slot
     + {{SmallIcon|Spell Slot Icon.png}} Level {{{level}}} Spell Slot
Line 129: Line 128:
}}</includeonly><noinclude>
}}</includeonly><noinclude>


Template for generating an entire page for a spell.  Examples follow. __NOTOC__
This is a template for generating an entire page for a spell.  
Usage example:
<pre>
{{SpellPage
| name = <!-- The spell's name. Fireball, Ray of Frost, etc. -->
| image = <!-- Spell's icon, example: Fireball Icon.png -->
| level = <!-- Can be cantrip, 1, 2, 3, 4, 5, 6 -->
| school = <!-- Abjuration, Conjuration, Divination, Enchantment, Evocation, Illusion, Necromancy, or Transmutation -->
| classes = <!-- Comma separated list of classes that can use the spell. Example: Sorcerer, Wizard -->
| learns at level 1 = <!-- Same as above. Can use subclasses to specify certain subclasses, such as "Fiend" or "Light Domain" to specify a Fiend Warlock or a Light Domain Cleric -->
| summary = <!-- A short description that appears at the top of the page -->
| description = <!-- The in-game description of the spell. Try to match as closely as possible -->
| action type = <!-- action, bonus, or reaction -->
| attack roll = <!-- "Yes" if spell makes an attack roll, leave blank if not -->
| damage = <!-- 2d6, 3d8, etc -->
| damage modifier = <!-- "Spellcasting" to add Spellcasting modifier to damage. Leave blank for no extra damage -->
| damage type = <!-- Acid, Cold, Fire, etc -->
| damage save = <!-- Strength, Dexterity, Constitution, etc -->
| damage save effect = <!-- Can be "half" or "negate". Leave blank to treat it as "negate". -->
| concentration = <!-- "Yes" to indicate concentration required. Leave blank if not -->
| range = <!-- self, ranged, melee -->
| range m = <!-- Use only if above field is blank. A number in meters -->
| range ft = <!-- Use only if range field above is blank. A number in feet -->
| aoe = <!-- Radius, Cone -->
| aoe m = <!-- The radius in meters, leave blank if there is no AoE -->
| aoe ft = <!-- The radius in feet, leave blank if there is no AoE -->
| condition = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| condition duration = <!-- The number of turns the condition lasts -->
| condition save = <!-- STR, DEX, CON, etc -->
| area = <!-- The name of a special field or area the spell creates. Leave blank for no area -->
| area category = <!-- Cloud, Surface, etc -->
| area shape = <!-- Radius, Cone, etc -->
| area range m = <!-- The range of the area in meters -->
| area range ft = <!-- The range of the area in feet -->
| area duration = <!-- How long the area lasts, in turns -->
| area turn start damage = <!-- 2d4, 3d6, 1d8, etc -->
| area turn start damage type = <!-- Acid, Cold, Fire, etc -->
| area turn start damage save = <!-- STR, DEX, CON, etc -->
| area turn start damage save effect =
| area turn end damage = <!-- 2d4, 3d6, 1d8, etc -->
| area turn end damage type = <!-- Acid, Cold, Fire, etc -->
| area turn end damage save = <!-- STR, DEX, CON, etc -->
| area turn end damage save effect = <!-- Can be "half" or "negate". Leave blank to treat it as "negate". -->
| area condition = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| area condition 2 = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| area condition 3 = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| area condition 4 = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| higher levels = <!-- What happens when the spell is cast using a higher spell slot level, optional -->
| notes = <!-- Extra details or information, optional -->
}}
</pre>
 
 
Examples of the template are below: __NOTOC__


= Acid Splash =
= Acid Splash =
Line 271: Line 323:


[[Category:Page Generating Templates]]
[[Category:Page Generating Templates]]
</noinclude>
<templatedata>
{
"params": {
"name": {
"label": "Spell name",
"description": "The full name of the spell.",
"example": "Fireball",
"type": "string",
"required": true
},
"image": {
"label": "Spell image/icon",
"description": "This is the spell's in-game icon.",
"example": "Fireball Icon.png",
"type": "string",
"suggested": true
}
},
"description": "This page template creates an entire spell page for a given spell.",
"format": "block"
}
</templatedata></noinclude>

Revision as of 05:38, 30 July 2023


This is a template for generating an entire page for a spell. Usage example:

{{SpellPage
| name = <!-- The spell's name. Fireball, Ray of Frost, etc. -->
| image = <!-- Spell's icon, example: Fireball Icon.png -->
| level = <!-- Can be cantrip, 1, 2, 3, 4, 5, 6 -->
| school = <!-- Abjuration, Conjuration, Divination, Enchantment, Evocation, Illusion, Necromancy, or Transmutation  -->
| classes = <!-- Comma separated list of classes that can use the spell. Example: Sorcerer, Wizard -->
| learns at level 1 = <!-- Same as above. Can use subclasses to specify certain subclasses, such as "Fiend" or "Light Domain" to specify a Fiend Warlock or a Light Domain Cleric -->
| summary = <!-- A short description that appears at the top of the page -->
| description = <!-- The in-game description of the spell. Try to match as closely as possible -->
| action type = <!-- action, bonus, or reaction -->
| attack roll = <!-- "Yes" if spell makes an attack roll, leave blank if not -->
| damage = <!-- 2d6, 3d8, etc -->
| damage modifier = <!-- "Spellcasting" to add Spellcasting modifier to damage. Leave blank for no extra damage -->
| damage type = <!-- Acid, Cold, Fire, etc -->
| damage save = <!-- Strength, Dexterity, Constitution, etc -->
| damage save effect = <!-- Can be "half" or "negate". Leave blank to treat it as "negate". -->
| concentration = <!-- "Yes" to indicate concentration required. Leave blank if not -->
| range = <!-- self, ranged, melee -->
| range m = <!-- Use only if above field is blank. A number in meters -->
| range ft = <!-- Use only if range field above is blank. A number in feet -->
| aoe = <!-- Radius, Cone -->
| aoe m = <!-- The radius in meters, leave blank if there is no AoE -->
| aoe ft = <!-- The radius in feet, leave blank if there is no AoE -->
| condition = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| condition duration = <!-- The number of turns the condition lasts -->
| condition save = <!-- STR, DEX, CON, etc -->
| area = <!-- The name of a special field or area the spell creates. Leave blank for no area -->
| area category = <!-- Cloud, Surface, etc -->
| area shape = <!-- Radius, Cone, etc -->
| area range m = <!-- The range of the area in meters -->
| area range ft = <!-- The range of the area in feet -->
| area duration = <!-- How long the area lasts, in turns -->
| area turn start damage = <!-- 2d4, 3d6, 1d8, etc -->
| area turn start damage type = <!-- Acid, Cold, Fire, etc -->
| area turn start damage save = <!-- STR, DEX, CON, etc -->
| area turn start damage save effect =
| area turn end damage = <!-- 2d4, 3d6, 1d8, etc -->
| area turn end damage type = <!-- Acid, Cold, Fire, etc -->
| area turn end damage save = <!-- STR, DEX, CON, etc -->
| area turn end damage save effect = <!-- Can be "half" or "negate". Leave blank to treat it as "negate". -->
| area condition = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| area condition 2 = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| area condition 3 = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| area condition 4 = <!-- The full name of the condition applied by this spell, leave blank for no condition -->
| higher levels = <!-- What happens when the spell is cast using a higher spell slot level, optional -->
| notes = <!-- Extra details or information, optional -->
}}


Examples of the template are below:

Acid Splash

Acid Splash Icon.png

Acid Splash is a Cantrip (Conjuration) available to Sorcerers, Wizards, Eldritch Knights, and Arcane Tricksters. 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

D6 Acid.png 1d6 (1~6) Damage TypesAcid (Dexterity save to negate)
  • Action
  •  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


Chill Touch

Chill Touch is a Cantrip (Necromancy) available to Sorcerers, Warlocks, Wizards, Eldritch Knights, and Arcane Tricksters. 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

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

Condition

[[ Chill Touch

(Condition)| Chill Touch

]]

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


Blade Ward

Blade Ward Icon.png

Blade Ward is a Cantrip (Abjuration) available to Bards, Sorcerers, Wizards, Warlocks, Eldritch Knights, and Arcane Tricksters. 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

Condition

Blade Ward Blade Ward

Duration: 2 turns


Hunger of Hadar

Hunger of Hadar Icon.png

Hunger of Hadar is a Level 3 Conjuration Spell available to Warlocks. 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.

Progression

Properties

D10 Fire.png 1d10 (1~10) + Spellcasting modifier Damage TypesFire (Dexterity save to halve)

Area: Hunger of Hadar

The spell creates a cloud with the following properties.

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

Creatures starting their turn in the area suffer:

D6 Cold.png 2d6 (2~12) Damage TypesCold (no saving throw allowed)

Creatures ending their turn in the area suffer:

D6 Acid.png 2d6 (2~12) Damage TypesAcid (Dexterity save to negate)

Creatures within the area are affected by the following conditions:

Blinded Blinded

Notes

Here's some notes just for testing purposes.

Two paragraphs of notes even.


Aid

Aid Icon.png

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.

Description

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

Progression

Properties

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

Condition

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.

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 full name of the spell.

Example
Fireball
Stringrequired
Spell image/iconimage

This is the spell's in-game icon.

Example
Fireball Icon.png
Stringsuggested