Template:Quote skill: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
mNo edit summary
Tags: Manual revert Reverted
Line 28: Line 28:
| image-border-shape = rounded
| image-border-shape = rounded
| link = {{{1|}}}
| link = {{{1|}}}
| image-align = edge
| image-align = center
| author = {{#if:{{{noattribution|}}}||In-game skill description}}
| author = {{#if:{{{noattribution|}}}||In-game skill description}}
}}}}</includeonly><noinclude>{{documentation|content=
}}}}</includeonly><noinclude>{{documentation|content=

Revision as of 02:28, 29 July 2024

Template documentation

Display a skill description quote accompanied by the corresponding icon.

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

Usage

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

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

Examples

Skill example.

Markup
{{Quote skill|Nature}}
Renders as

Disable attribution text.

Markup
{{Quote skill|Medicine|noattribution=1}}
Renders as

No image.

Markup
{{Quote skill|Arcana|image=none}}
Renders as

A custom quote with a custom image.

Markup
{{Quote skill
| 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 a skill quote

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Skill1

The name of a skill. When used on a skill page, you can use {{PAGENAME}} for this parameter. There are description quotes for every skill 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 skill 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