Template:Quote ability

From bg3.wiki
Revision as of 03:47, 29 July 2024 by HiddenDragon (talk | contribs) (Created page with "<includeonly>{{NoExcerpt|{{Quote fancy | quote = {{{quote|{{#switch: {{trim|{{{1|}}}}} <!-- Quotes extracted from patch 6 game files --> | Strength = Muscles and physical power. Affects your effectiveness with melee weapons. Also determines how far you can jump and how much you can carry. | Dexterity = Agility, reflexes, and balance. Affects your effectiveness with ranged and Finesse weapons. Also affects your Initiative and Armour Class. | Constitution = Stamina and phy...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation

Display an ability score description quote accompanied by the corresponding icon.

This template is a subtype of {{Quote fancy}}.

Usage

This template has a table of all the ability score quotes in the game extracted directly from the game files so the only required parameter is the name of the ability. On the ability pages themselves, you can use {{PAGENAME}} as the parameter to this template. For the image, it uses <ability> Icon.png which exist for all abilities.

Alternatively, the quote and image can be overridden with the parameters quote and image.

Examples

Ability score example.

Markup
{{Quote ability|Dexterity}}
Renders as

Disable attribution text.

Markup
{{Quote ability|Strength|noattribution=1}}
Renders as

No image.

Markup
{{Quote ability|Intelligence|image=none}}
Renders as

A custom quote with a custom image.

Markup
{{Quote ability
| quote = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| image = Background Hermit Icon.png
| height = 80
}}
Renders as

Exhaustive list


Template data

Display an ability score quote

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Ability score1

The name of an ability score. When used on an ability page, you can use {{PAGENAME}} for this parameter. There are description quotes for every ability score defined in the game.

Stringrequired
Quote overridequote

Use this parameter to specify a custom quote instead of a predefined one.

Stringoptional
Image overrideimage

Use this parameter to specify a custom icon instead of a predefined one.

Example
Acrobatics Icon.png
Filesuggested
Disable attributionnoattribution

Disable the "In-game ability description" attribution text.

Booleanoptional
Image position overrideimage-position

Override the image position from its default position on the right.

Suggested values
right left
Default
right
Stringoptional
Image height overrideheight

Override the image height from its default of 100px.

Default
100
Numberoptional