Template:Condition inline/format

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

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

Examples

Markup Renders as
{{Condition inline/format
| page = Bleeding (Condition)
| name = Bleeding
| icon = Bleeding Condition Icon.webp
}}

Bleeding Bleeding

{{Condition inline/format
| page = Galerian Revelry (Condition)
| name = Galerian Revelry
| icon = Galerian Revelry Condition Icon.webp
| size = 40
}}

Galerian Revelry Galerian Revelry

{{Condition inline/format
| page = Polymorphed (Condition)
| name = Polymorphed
| icon = Polymorphed Condition Icon.webp
| altname = Shapechanged
}}

Shapechanged Shapechanged

Template data

Display a block of information about a condition.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namepage

Condition page to link to.

Page namerequired
namename

Name of the condition.

Stringrequired
iconicon

Icon file of the condition.

Filerequired
altnamealtname

An alternative display name for the condition 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