Template:Reaction inline/format

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

Meant to be used with the Cargo query in Template:Reaction inline.

Examples

Markup Renders as
{{Reaction inline/format
| link = Githyanki Parry
| icon = Parry Unfaded Icon.webp
}}
Githyanki ParryGithyanki Parry
{{Reaction inline/format
| link = Warding Flare
| icon = Warding Flare Unfaded Icon.webp
| altname = Supreme Warding Flare
}}
Supreme Warding FlareSupreme Warding Flare
{{Reaction inline/format
| link = Absorb Elements
| icon = Absorb Elements Unfaded Icon.webp
| w = 40
}}
Absorb ElementsAbsorb Elements

Template data

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
linklink

The page of the reaction.

Stringrequired
iconicon

The icon of the reaction. If not specified, will default to Generic Feature Unfaded Icon.webp

Fileoptional
altnamealtname

Alternative display name that will override the name

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