Template:SpellAction

From bg3.wiki
Revision as of 18:41, 29 December 2023 by Hennils (talk | contribs) (added option to alter action type)
Jump to navigation Jump to search

Use this to display a spell as a class action on an equipment page. Examples follow.

This template just runs the Cargo query; see Template:ClassAction/Format for the formatting.


Usage:

{{SpellAction | Hunter's Mark | level=1 | recharge=Long Rest }}

Result:


Hunter's Mark Hunter's Mark ()
Cast as a level 1 spell ( Recharge: Long rest.)

Usage:

{{SpellAction | Haste | level=3 | recharge=Short Rest }}

Result:


Haste Haste ()
Cast as a level 3 spell ( Recharge: Short rest.)

Usage:

{{SpellAction | True Strike | level=0 | recharge=Short Rest | action type=Bonus }}

Result:


True Strike True Strike ()
Cast as a cantrip ( Recharge: Short rest.)

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
name1

The name of the spell

Stringrequired
levellevel

The level the spell is cast at.

Default
1
Numberoptional
rechargerecharge

How often this spell refreshes

Default
Stringoptional