Template:Feature box: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
(Added link parameter for alias links)
Line 1: Line 1:
<includeonly>{{TooltipBox|{{SAI|{{{name}}}|w=40}}|image={{{image name|{{{name}}}.webp}}}|w=100|
<includeonly>{{TooltipBox|{{SAI|{{{name}}}|{{{link|{{{name}}}}}}|w=40}}|image={{{image name|{{{name}}}.webp}}}|w=100|
{{{1}}}
{{{1}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 9: Line 9:
{{Feature box
{{Feature box
|name=
|name=
|link=
|image name=
|image name=
|
|

Revision as of 22:18, 31 October 2023

Creates a box to display enemy features such as special abilities and attacks. It is intended for use on creature pages, rather than being pages of their own. For player features, use Template:ActionPage.

The icon uses the SAI template. The version without integrated SAI is Template:TooltipBox. If no image name is provided, the template will attempt to use NAME.webp as the righthand-side image.

Copy-ready example:
{{Feature box
|name=
|link=
|image name=
|
}}

Example:

Strengthened Shillelagh.webp

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

The name of the ability.

Stringrequired
image nameimage name

An override for the image to use on the right-hand side.

Default
{{{name}}}.webp
Unknownoptional
11

The content of the feature box.

Contentrequired