Template:Quote background: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Added hermit and sailor unused backgrounds)
m (Added unused backgrounds as possible values in the templatedata)
 
(2 intermediate revisions by the same user not shown)
Line 38: Line 38:
| font-size = 110%
| font-size = 110%
| image-border-shape = none
| image-border-shape = none
| link = {{{1|}}}
| link = {{#if:{{{nolink|}}}||{{{link|{{{1|}}}}}}}}
| image-align = edge
| image-align = edge
}}}}</includeonly><noinclude>{{documentation|content=
}}}}</includeonly><noinclude>{{documentation|content=
Line 83: Line 83:


=== Unused backgrounds ===
=== Unused backgrounds ===
{{Quote background|Hermit}}
{{Quote background|Hermit|nolink=yes}}
{{Quote background|Sailor}}
{{Quote background|Sailor|nolink=yes}}


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


== Template data ==
== Template data ==
Line 118: Line 118:
                 "Soldier",
                 "Soldier",
                 "Urchin",
                 "Urchin",
                 "Haunted One"
                 "Haunted One",
                "Hermit",
                "Sailor",
                "Trickster Hedonist",
                "Astral Zealot",
                "Wizard of Waterdeep",
                "Cloistered Stray",
                "Blade of Frontiers",
                "Blood War Veteran",
                "Underdark Exile",
                "Grove Tender",
                "World-Wise Heroine",
                "Legend of Baldur's Gate"
             ],
             ],
"required": true
"required": true
Line 138: Line 150:
             "default": "right",
             "default": "right",
             "suggestedvalues": ["right", "left"]
             "suggestedvalues": ["right", "left"]
        },
        "link": {
            "label": "Link override",
            "description": "Override where clicking the image links to.",
            "type": "wiki-page-name"
        },
        "nolink": {
            "label": "Disable link",
            "description": "Entirely remove the link. This is the same as setting \"link=\". For use with cut backgrounds that don't have dedicated pages.",
            "type": "boolean"
         }
         }
},
},
     "description": "Display a class/subclass quote",
     "description": "Display a character background quote",
     "format": "inline"
     "format": "inline"
}
}

Latest revision as of 17:11, 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 Hermit Sailor Trickster Hedonist Astral Zealot Wizard of Waterdeep Cloistered Stray Blade of Frontiers Blood War Veteran Underdark Exile Grove Tender World-Wise Heroine Legend of Baldur's Gate
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