Template:Spell page: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
}} | }} | ||
}} | }} | ||
<div class="bg3wiki-spell-page-description"> __NOTOC__ | <div class="bg3wiki-tooltip-box bg3wiki-spell-page-description"> __NOTOC__ | ||
[[File:{{{image}}}|frameless|right]] | [[File:{{{image}}}|frameless|right]] | ||
Line 76: | Line 76: | ||
<h2> Condition: {{{condition}}} </h2> | <h2> Condition: {{{condition}}} </h2> | ||
<div class="bg3wiki-spell-page-condition"> | <div class="bg3wiki-tooltip-box bg3wiki-spell-page-condition"> | ||
{{Condition | {{{condition}}} | {{Condition | {{{condition}}} | ||
| save = {{{condition save|}}} | | save = {{{condition save|}}} | ||
Line 87: | Line 87: | ||
<h2> Area: {{{area}}} </h2> | <h2> Area: {{{area}}} </h2> | ||
<div class="bg3wiki-spell-page-area"> | <div class="bg3wiki-tooltip-box bg3wiki-spell-page-area"> | ||
The spell creates {{#switch: {{{area category}}} | The spell creates {{#switch: {{{area category}}} | ||
| cloud = a cloud | | cloud = a cloud | ||
Line 150: | Line 150: | ||
{{#var:races-learn-list}} | {{#var:races-learn-list}} | ||
}} | }} | ||
}}<div class="bg3wiki-spell-page-how-to-learn"> | }}<div class="bg3wiki-tooltip-box bg3wiki-spell-page-how-to-learn"> | ||
{{#var: how-to-learn-content | ''(Information not yet added.)'' }} | {{#var: how-to-learn-content | ''(Information not yet added.)'' }} | ||
</div>{{#if: {{{notes|}}} | {{blank}} | </div>{{#if: {{{notes|}}} | {{blank}} | ||
Line 156: | Line 156: | ||
<h2> Notes </h2> | <h2> Notes </h2> | ||
<div class="bg3wiki-spell-page-notes"> | <div class="bg3wiki-tooltip-box bg3wiki-spell-page-notes"> | ||
{{{notes}}} | {{{notes}}} | ||
</div> | </div> |
Revision as of 14:21, 6 August 2023
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.
CSS: Template:SpellPage/styles.css
Usage example:
{{SpellPage | name = | image = | level = | school = | ritual = | classes = | class learns at level 1 = | class learns at level 2 = | races = | race learns at level 1 = | race learns at level 2 = | summary = | description = | action type = | attack roll = | damage = | damage modifier = | damage type = | damage save = | damage save effect = | extra damage = | extra damage modifier = | extra damage type = | extra damage save = | extra damage save effect = | concentration = | range = | range m = | range ft = | aoe = | aoe m = | aoe ft = | condition = | condition duration = | condition save = | area = | area category = | area shape = | area range m = | area range ft = | area duration = | area turn start damage = | area turn start damage type = | area turn start damage save = | area turn start damage save effect = | area turn end damage = | area turn end damage type = | area turn end damage save = | area turn end damage save effect = | area condition = | area condition 2 = | area condition 3 = | area condition 4 = | higher levels = | notes = }}
Examples of the template are below:
Acid Splash
Page Template:SpellPage/styles.css has no content.
Acid Splash is a Cantrip (Conjuration). It deals Acid damage to enemies in a small area.
Description
Hurl a bubble of acid that deals 1d6Acid damage to each creature it hits in a small area.
Properties
Damage:
- 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:
How to Learn
Classes:
- Level 1: , , , and
Races:
- Level 1:
- Level 2:
Bone Chill
Page Template:SpellPage/styles.css has no content.
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 1d8Necrotic damage and cannot regain Hit Points. Undead creatures also get Disadvantage on Attack Rolls.
Properties
Damage:
- Action
- Range: 18 m / 60 ft
At Higher Levels
When the spellcaster reaches Level 5, the damage increases by another 1d8, for a total of:
Condition: Bone Chilled
Duration: 1 turn
- Can not regain hit points.
- If Undead, has Disadvantage on Attack rolls.
How to Learn
(Information not yet added.)
Blade Ward
Page Template:SpellPage/styles.css has no content.
Blade Ward is a Cantrip (Abjuration). It allows spellcasters to become more resilient against physical damage.
Description
The caster gains resistance against Bludgeoning, Piercing, and Slashing damage dealt by weapon attacks for two turns. Damage of these types is halved.
Properties
- Action
- Range: Self
Condition: Blade Ward
Duration: 2 turns
- Has Resistance against Bludgeoning, Piercing, and Slashing damage.
How to Learn
(Information not yet added.)
Hunger of Hadar
Page Template:SpellPage/styles.css has no content.
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 2d6Cold damage. Creatures ending their turn in the area possibly take 2d6Acid damage.
The area is Difficult Terrain and creatures within are Blinded.
Properties
Damage:
- Action + Level 3 Spell Slot
- Attack roll
- Range: 18 m / 60 ft
- AoE: 10 m / 35 ft (Radius)
- Concentration
- Creates Area: Hunger of Hadar
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:
Creatures ending their turn in the area suffer:
Creatures within the area are affected by the following conditions:
- Movement Speed halved
- Ranged attacks and spells have a range of 3 m / 10 ft and Attack Rolls suffer Disadvantage.
- Attack Rolls against Blinded creatures have Advantage.
How to Learn
Classes:
- Level 3:
Notes
Here's some notes just for testing purposes.
Two paragraphs of notes even.
Aid
Page Template:SpellPage/styles.css has no content.
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.
Properties
- Action + Level 2 Spell Slot
- Range: Self
- AoE: 9 m / 30 ft (Radius)
Condition: 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:
- Level 3: , and
- Level 5: , and
This page template creates an entire spell page for a given spell.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Spell name | name | The full name of the spell.
| String | required |
Spell image/icon | image | This is the spell's in-game icon.
| String | suggested |
Spell level | level | This is the level of the spell. Use "cantrip" to indicate a 0th level or cantrip spell.
| String | required |
Spell school | school | The school of magic that the spell belongs to.
| String | required |
ritual | ritual | Indicates whether the spell is a ritual spell or not. Leave blank if not a ritual spell.
| String | optional |
classes | classes | This is a comma-separated list of classes that have access to this spell. Can also specify subclasses if only a certain subclass of a class gains access.
| String | required |
class learns at level X | class 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.
| String | suggested |
races | races | This is a comma-separated list of races that have access to this spell. Can also specify subrace if only a certain subrace of a race gains access.
| String | required |
race learns at level X | race 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.
| String | suggested |
Spell description summary | summary | A short summary of the spell. This appears at the top of the page and on link previews.
| Content | required |
Spell description | description | This is the full in-game description of the spell. Try to reflect the in-game description as closely as possible.
| String | required |
action type | action type | The type of action that the spell consumes.
| String | suggested |
attack roll | attack roll | Whether the spell creates an attack roll or not. Leave blank if no attack roll is made.
| String | optional |
damage | damage | The amount of damage dealt by the spell's primary effect, in dice. Leave blank if the spell does not directly deal damage.
| String | optional |
damage modifier | damage modifier | What stats (if any) get added to the damage dealt.
| String | optional |
damage type | damage type | The type of damage that spell deals.
| String | optional |
damage save | damage save | The save (if any) that a target must roll against the damage effect of the spell.
| String | optional |
damage save effect | damage save effect | What happens on a successful save. Leave blank to default to "negate".
| String | optional |
concentration | concentration | Whether the spell requires the caster to maintain concentation. "Yes" if it does, leave blank otherwise.
| String | optional |
range | range | The range of the spell.
| String | optional |
range m | range 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.
| Number | optional |
range ft | range 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.
| Number | optional |
aoe | aoe | Indicates if the spell affects an area, and what type of shape its effect is.
| String | optional |
aoe m | aoe m | This indicates the range of the spell's aoe shape, in meters.
| Number | optional |
aoe ft | aoe ft | This indicates the range of the spell's aoe shape, in feet.
| Number | optional |
condition | condition | The full name of the condition (if any) that this spell applies to its target/s. Leave blank if there is no condition.
| String | optional |
condition duration | condition duration | The duration in turns of the spell's applied condition. Leave blank if the duration is unlimited.
| Number | optional |
condition save | condition 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"
| String | optional |
Spell area name | area | Indicates the name of a special area/field/surface/cloud created by the spell (if any). Leave blank if there is none.
| String | optional |
area category | area category | This indicates the type of area created by the spell.
| String | optional |
area shape | area shape | This indicates the shape that the special area created by the spell takes.
| String | optional |
area range m | area range m | Indicates the range of the area created by spell, in meters.
| Number | optional |
area range ft | area range ft | Indicates the range of the area created by spell, in feet.
| Number | optional |
area duration | area duration | This indicates how long the area created by the spell lasts, in turns.
| Number | optional |
area turn start damage | area turn start damage | How much damage this area does to an entity starting its turn in it.
| String | optional |
area turn start damage type | area turn start damage type | The type of damage dealt to a creature starting its turn in the area created by this spell.
| String | optional |
area turn start damage save | area turn start damage save | The saving throw an entity starting its turn in the area created by this spell must roll in order to reduce or negate its damage.
| String | optional |
area turn start damage save effect | area turn start damage save effect | This indicates what effect a successful saving throw has on the damage applied to a creature starting its turn in this spell's area. Leave blank to default to "negate".
| String | optional |
area turn end damage | area turn end damage | How much damage this area does to an entity ending its turn in it.
| String | optional |
area turn end damage type | area turn end damage type | The type of damage dealt to a creature ending its turn in the area created by this spell.
| String | optional |
area turn end damage save | area turn end damage save | The saving throw an entity ending its turn in the area created by this spell must roll in order to reduce or negate its damage.
| String | optional |
area turn end damage save effect | area turn end damage save effect | This indicates what effect a successful saving throw has on the damage applied to a creature ending its turn in this spell's area. Leave blank to default to "negate".
| String | optional |
area condition | area condition | The full name of the condition applied by this spell's area, leave blank if no condition is applied.
| String | optional |
area condition 2 | area condition 2 | The full name of the second condition applied by this spell's area, leave blank if no second condition is applied.
| String | optional |
area condition 3 | area condition 3 | The full name of the third condition applied by this spell's area, leave blank if no third condition is applied.
| String | optional |
area condition 4 | area condition 4 | The full name of the fourth condition applied by this spell's area, leave blank if no fourth condition is applied.
| String | optional |
higher levels | higher levels | This describes what happens when the spell is casting using a higher than normal spell slot.
| Content | optional |
notes | notes | Any extra or related information about the spell. | Content | optional |