Template:Spell action icon link/format

From bg3.wiki
Jump to navigation Jump to search
Template documentation

Template responsible for formatting {{SAI}}. This is intended for internal use by the parent template only.

Intentionally left blank for now.

Examples

Markup Renders as
{{Spell action icon link/format
| page = Shield (spell)
| name = Shield
| icon = Shield spell Icon.webp
}}

Shield Shield

{{Spell action icon link/format
| page = Longstrider
| name = Longstrider
| icon = Longstrider Icon.webp
| size = 40
| r = 16
}}

Longstrider Longstrider 

{{Spell action icon link/format
| page = Polymorph
| name = Polymorph
| icon = Polymorph Icon.webp
| altname = Shapechanged
| c = 16
}}

Shapechanged Shapechanged 

Template data

Display a block of information about a spell/action.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namepage

Spell/action page to link to.

Page namerequired
namename

Name of the spell/action.

Stringrequired
iconicon

Icon file of the spell/action.

Filerequired
altnamealtname

An alternative display name for the spell/action link.

Stringoptional
Widthw

Override the width of the image.

Numberoptional
Heighth

Override the height of the image.

Numberoptional
Sizesize

Set the size of the image to this by this.

Numberoptional
Blockblock

Whether to wrap the icon and link in a container HTML element.

Stringoptional
Gapgap

If 'block' is set, the exact gap to use between the icon and link.

Numberoptional
Nowrapnowrap

If specified, will add the nowrap css style to the span.

Stringoptional