User:HiddenDragon/SpellListTableRow

From bg3.wiki
< User:HiddenDragon
Revision as of 08:55, 21 September 2023 by HiddenDragon (talk | contribs) (Created page with " <includeonly> <tr> <td>{{#if: {{{image|}}} | {{IconLink|{{{image}}}|{{{spell}}}}} | {{IconLink|{{{spell}}} Icon.webp|{{{spell}}}}} }} {{#ifeq: {{{conc|}}} | required | {{SmallIcon|Concentration Icons.png|link=Concentration}} | }}</td> <td>{{{ casttime | {{Action}} }}}</td> <td>{{#if: {{{duration|}}} | {{SmallIcon|Duration Icons.png}}{{nbts}}{{#switch: {{{duration}}} | 1 = 1 turn | longrest = Until Long Rest | #default = {{{duration}}} turns }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



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
imageimage

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

Stringoptional
concconc

Does spell require concentration.

Suggested values
required
Stringoptional
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

Example:

{| class=wikitable style="width: 100%;"
! | Name
! | Casting Time
! | Duration
! | Range / Area
! | Attack / Save
! | Damage / Effect
|-
{{SpellListTableRow
| image=Acid Splash Icon.png
| spell=Acid Splash
| area=2/7
| save=DEX
| damage=Acid
}}
{{SpellListTableRow
| spell=Blade Ward
| casttime={{action}}
| duration=2
| range=self
| conc=required
| attack=no
}}
|}

Result:

Name Casting Time Duration Range / Area Attack / Save Damage / Effect
Acid Splash Acid Splash Action -  18m / 60ft
 2m / 7ft (Radius)
Attack roll
Dexterity saving throw
Damage TypesAcid
Blade Ward Blade Ward Concentration Action  2 turns  Self - -