Template:Quote background: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{NoExcerpt|{{Quote fancy | quote = {{{quote|{{#switch: {{trim|{{{1|}}}}} <!-- Quotes extracted from patch 6 game files --> | Acolyte = You have spent your life in service to a temple, learning sacred rites and providing sacrifices to the god or gods you worship. Serving the gods and discovering their sacred works will guide you to greatness. | Charlatan = You're an expert in manipulation, prone to exaggeration and more than happy to profit from it. Bending...")
 
m (Added unused backgrounds as possible values in the templatedata)
 
(4 intermediate revisions by the same user not shown)
Line 15: Line 15:
| Haunted One = A wicked moment, person, or thing that cannot be slain by sword or spell haunts your mind and flickers in your peripheral vision. You carry it wherever your adventure takes you - or perhaps it carries you.
| Haunted One = A wicked moment, person, or thing that cannot be slain by sword or spell haunts your mind and flickers in your peripheral vision. You carry it wherever your adventure takes you - or perhaps it carries you.


<!-- The following backgrounds exist in the game files, but are not used in-game -->
<!-- The following character-specific backgrounds exist in the game files, but are not used in-game -->
| Trickster Hedonist = Looking at you, people see someone eloquent, experienced, and a little dangerous. There's a sensuality to you that people admire, and you've made use of that fact, oh yes. If ever there was an emblem for night and all its dark promise, surely that is you.  
| Trickster Hedonist = Looking at you, people see someone eloquent, experienced, and a little dangerous. There's a sensuality to you that people admire, and you've made use of that fact, oh yes. If ever there was an emblem for night and all its dark promise, surely that is you.  
| Astral Zealot = Drafted from your crèche into a military life, a taste for violence and a love for the githyanki ruler, Vlaakith, were seeded and nurtured within you. Now you are an agent for Vlaakith on the Material Plane, working toward the advancement of your species.
| Astral Zealot = Drafted from your crèche into a military life, a taste for violence and a love for the githyanki ruler, Vlaakith, were seeded and nurtured within you. Now you are an agent for Vlaakith on the Material Plane, working toward the advancement of your species.
Line 25: Line 25:
| Grove Tender = Master over a verdant grove that was home to life of all varieties, you have lived a life of peace-making and pain-mending. Forsaking the grove was difficult, but necessary, for the safety of the natural world is in jeopardy, and it is the duty of those with green thumbs and greener souls to aid it.  
| Grove Tender = Master over a verdant grove that was home to life of all varieties, you have lived a life of peace-making and pain-mending. Forsaking the grove was difficult, but necessary, for the safety of the natural world is in jeopardy, and it is the duty of those with green thumbs and greener souls to aid it.  
| World-Wise Heroine = Veteran to a host of world-threatening conflicts, you have shrugged off the very idea of retirement. Peppermints and rocking chairs are for the infirm, and your muscle and mind are still as hard and strong as steel. Besides, young adventurers are headstrong - they need a little wisdom now and then.  
| World-Wise Heroine = Veteran to a host of world-threatening conflicts, you have shrugged off the very idea of retirement. Peppermints and rocking chairs are for the infirm, and your muscle and mind are still as hard and strong as steel. Besides, young adventurers are headstrong - they need a little wisdom now and then.  
| Legend of Baldur's Gate = If evil is a nose you are fist squashing it flat. Such is the legend surrounding you in Baldur's Gate: a hero of the most boisterous variety, armed to the teeth, and packing a tiny space hamster.  
| Legend of Baldur's Gate = If evil is a nose you are fist squashing it flat. Such is the legend surrounding you in Baldur's Gate: a hero of the most boisterous variety, armed to the teeth, and packing a tiny space hamster.
 
<!-- There are leftover remnants of following generic backgrounds, but they are not stored in the same place as the other backgrounds (i.e. not in /Public/Shared/Backgrounds/Backgrounds.lsx) -->
<!-- Source: Public/Shared/Tags/2fa3f042-2b50-41b2-8045-39ddd4421ca9.lsf -->
| Hermit = A life spent in seclusion grants a clear mind, but makes the chaos of society distasteful.
<!-- Source: Public/Shared/Tags/3f4cfd9e-cc97-4fd9-ae7a-21f2948fd1b0.lsf -->
| Sailor = You are pushed by greed and wanderlust, ever curious, seeking hoards and wonders unknown. Finding secret treasures opens the path to new discoveries.
}}}}}
}}}}}
| image = {{{image|Background {{{1|}}} Icon.png}}}
| image = {{{image|Background {{{1|}}} Icon.png}}}
Line 32: Line 38:
| font-size = 110%
| font-size = 110%
| image-border-shape = none
| image-border-shape = none
| link = {{{1|}}}
| link = {{#if:{{{nolink|}}}||{{{link|{{{1|}}}}}}}}
| align = {{{align|center}}}
| image-align = edge
}}}}</includeonly><noinclude>{{documentation|content=
}}}}</includeonly><noinclude>{{documentation|content=
Display a [[background]] description quote accompanied by the corresponding icon.
Display a [[background]] description quote accompanied by the corresponding icon.
Line 75: Line 81:
{{Quote background|Urchin}}
{{Quote background|Urchin}}
{{Quote background|Haunted One}}
{{Quote background|Haunted One}}
=== Unused backgrounds ===
{{Quote background|Hermit|nolink=yes}}
{{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 108: 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 121: Line 143:
             "description": "Use this parameter to specify a custom icon instead of a predefined one.",
             "description": "Use this parameter to specify a custom icon instead of a predefined one.",
             "type": "wiki-file-name"
             "type": "wiki-file-name"
        },
        "align": {
            "label": "Alignment override",
            "description": "Override the alignment from the default centered position",
            "type": "string",
            "default": "center",
            "suggestedvalues": ["center", "left", "right"]
         },
         },
         "image-position": {
         "image-position": {
Line 135: 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