Template:Quote background: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Added link/nolink parameters)
No edit summary
Line 87: Line 87:


=== Unused character-specific backgrounds ===
=== Unused character-specific backgrounds ===
{{Quote background|Trickster Hedonist|nolink=yes}}
{{Quote background|Trickster Hedonist|link=Astarion}}
{{Quote background|Astral Zealot|nolink=yes}}
{{Quote background|Astral Zealot|link=Lae'zel}}
{{Quote background|Wizard of Waterdeep|nolink=yes}}
{{Quote background|Wizard of Waterdeep|link=Gale}}
{{Quote background|Cloistered Stray|nolink=yes}}
{{Quote background|Cloistered Stray|link=Shadowheart}}
{{Quote background|Blade of Frontiers|nolink=yes}}
{{Quote background|Blade of Frontiers|link=Wyll}}
{{Quote background|Blood War Veteran|nolink=yes}}
{{Quote background|Blood War Veteran|link=Karlach}}
{{Quote background|Underdark Exile|nolink=yes}}
{{Quote background|Underdark Exile|link=Minthara}}
{{Quote background|Grove Tender|nolink=yes}}
{{Quote background|Grove Tender|link=Halsin}}
{{Quote background|World-Wise Heroine|nolink=yes}}
{{Quote background|World-Wise Heroine|link=Jaheira}}
{{Quote background|Legend of Baldur's Gate|nolink=yes}}
{{Quote background|Legend of Baldur's Gate|link=Minsc}}


== Template data ==
== Template data ==
Line 150: Line 150:
         }
         }
},
},
     "description": "Display a class/subclass quote",
     "description": "Display a character background quote",
     "format": "inline"
     "format": "inline"
}
}

Revision as of 17:08, 28 July 2024

Template documentation

Display a background description quote accompanied by the corresponding icon.

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

Usage

This template has a table of all the background quotes in the game extracted directly from the game files so the only required parameter is the name of the background. This parameter should match the name of a background page exactly. On the background pages themselves, you can use {{PAGENAME}} as the parameter to this template.

Alternatively, the quote and image can be overridden with the parameters quote and image, but generally you should stick with the default behaviour.

Examples

Markup
{{Quote background|Outlander}}
Renders as

Change the default image position.

Markup
{{Quote background|Haunted One|image-position=left}}
Renders as

A custom quote with a custom image.

Markup
{{Quote background
| 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
}}
Renders as

Exhaustive list

The quote blocks for every background are displayed below for easy verification.

Available backgrounds

Unused backgrounds

Unused character-specific backgrounds

Template data

Display a character background quote

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Class1

The name of a background. It should match exactly the pagename of the background. When used on a background page, you can use {{PAGENAME}} for this parameter.

Suggested values
Acolyte Charlatan Criminal Entertainer Folk Hero Guild Artisan Noble Outlander Sage Soldier Urchin Haunted One
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.

Fileoptional
Image position overrideimage-position

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

Suggested values
right left
Default
right
Stringoptional
Link overridelink

Override where clicking the image links to.

Page nameoptional
Disable linknolink

Entirely remove the link. This is the same as setting "link=". For use with cut backgrounds that don't have dedicated pages.

Booleanoptional