Template:Tooltip box

From bg3.wiki
(Redirected from Template:TooltipBox)
Jump to navigation Jump to search
Template documentation

Displays a 3-section tooltip box, with a header, a content body, an image on the right (typically a faded tooltip image), and a footer.

See also

  • {{Feature box}} - Displays tooltip boxes on class actions/spells
  • {{Passive box}} - Displays tooltip boxes on passive features
  • {{Reaction box}} - Displays tooltip boxes on reactions
  • {{Creature box}} - Displays tooltip boxes for creatures

Example

Markup
{{tooltip box
| header = {{SAI|Repelling Protocol|w=30}}
| image = Generic Control.webp
| size = 100
| content =
{{damage info|2d8|Thunder}}
Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}.
| footer = {{Recharge|Short rest}}
}}
Renders as
2d8 (2~16) Thunder⁠Thunder

Expel a wave of force to push assailants back 9 m (30 ft)⁠9 m (30 ft) and knock them Prone Prone.

Markup
{{tooltip box
| header = {{SAI|Repelling Protocol|w=30}}
| image = Generic Control.webp
| size = 100
| content =
{{damage info|2d8|Thunder}}
Expel a wave of force to push assailants back {{Distance|m=9|ft=27}} and knock them {{Cond|Prone}}.
}}
Renders as
2d8 (2~16) Thunder⁠Thunder

Expel a wave of force to push assailants back 9 m (30 ft)⁠9 m (30 ft) and knock them Prone Prone.

Template data

Display a box containing information about a feature such as a spell or weapon action

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Header1 header

The top-most section, usually a link template. Anything here is automatically bolded.

Contentoptional
Tooltip imageimage

The image to display on the right-hand side of the box. This is usually a faded tooltip image of some sort, the image used in in-game tooltip boxes.

Fileoptional
Image sizesize

Sets the size of the tooltip image by its maximum size.

Default
100
Numberoptional
Content2 content

The main content to fill the tooltip box with.

Contentoptional
Footer3 footer

The bottom-most section, to display small tooltips. Usually, you use a horizontal list to display multiple items horizontally.

Contentoptional