Template:Spell list table row: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<tr>
<tr>
   <td>{{#if: {{{image|}}}
   <td>{{#if: {{{image|}}}
   | {{IconLink|{{{image}}}|{{{spell}}}}}
   | {{IconLink|{{{image}}}|{{{spell}}}|{{{name}}}}}
   | {{SAI|{{{spell}}}|{{{name}}}|w=40|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}
   | {{SAI|{{{spell}}}|{{{name}}}|w=40|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}
   }}</td>
   }}</td>

Revision as of 19:55, 22 November 2023

Example:

{{Spell list table row
| image=Flame Blade Spell Icon.webp
| level=Cantrip
| spell=Flame Blade (Spell)
| name=Flame Blade
| area=2/7
| save=DEX
| damage=Acid
}}
{{Spell list table row
| spell=Blade Ward
| name=Blade Ward
| level=Cantrip
| casttime={{action}}
| duration=2
| range=self
| conc=required
| attack=no
}}
{{Spell list table row
| spell=Firebolt?
| name=Firebolt?
| level=Cantrip
| upcastable=yes
| casttime={{action}}
| duration=2
| range=self
| ritual=true
| attack=no
}}

Result:

Name Level Cast time Duration Range/Area Attack/Save Damage/Effect
Flame Blade Flame Blade Cantrip Action
-
 {{{range}}}m / ft
 2m / 7ft (Radius)
Damage TypesAcid
Blade Ward Blade Ward C Action  2 turns  Self
-
-
Firebolt? Firebolt? C Action  2 turns  Self
-
-
Ensnaring Strike Ensnaring Strike 1 Action  10 turns  Weapon Range Attack roll
-

template data

Template to fill the rows of the Spell list table. It is intended to use inside wikitable with appropriate columns.

Template parameters

ParameterDescriptionTypeStatus
spellspell

Name of the spell

Stringrequired
levellevel

The level of the spell.

Suggested values
1 2 3 4 5 6 Cantrip
Unknownoptional
upcastableupcastable

If specified, adds the upcastable marker next to the level.

Booleanoptional
imageimage

File name, auto-generated as "{{spell}} Icon.png" if not provided.

Stringoptional
concconc

If specified, marks spell as requiring concentration.

Suggested values
required
Booleanoptional
ritualritual

If specified, marks spell as ritual.

Booleanoptional
casttimecasttime

Casting time of the Spell

Suggested values
{{Action|bonus}} {{Action|reaction}} {{Action}} +{{Action|bonus}}
Default
{{Action}}
Unknownoptional
durationduration

Duration of the spell.

Suggested values
1 2 3 10 100 longrest
Unknownoptional
rangerange

Range of the spell separated by "/".

Suggested values
self melee touch weapon 9/30
Default
18/60
Example
9/30 to get 9m/30ft.
Stringoptional
areaarea

AoE range of the spell separated by "/".

Stringoptional
aoeaoe

AoE type of the spell.

Suggested values
radius cone cube
Default
radius
Stringoptional
attackattack

Does spell require an attack roll.

Suggested values
yes no
Stringoptional
savesave

Does spell require a saving throw against its DC.

Suggested values
STR DEX CON INT WIS CHA
Stringoptional
damagedamage

Type of the damage dealt by the Spell.

Suggested values
Slashing Piercing Bludgeoning Cold Fire Acid Lightning Force Poison Thunder Radiant Necrotic Psychic
Stringoptional