Template:Quote background: Difference between revisions
(Added hermit and sailor unused backgrounds) |
(Added link/nolink parameters) |
||
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|nolink=yes}} | ||
{{Quote background|Astral Zealot}} | {{Quote background|Astral Zealot|nolink=yes}} | ||
{{Quote background|Wizard of Waterdeep}} | {{Quote background|Wizard of Waterdeep|nolink=yes}} | ||
{{Quote background|Cloistered Stray}} | {{Quote background|Cloistered Stray|nolink=yes}} | ||
{{Quote background|Blade of Frontiers}} | {{Quote background|Blade of Frontiers|nolink=yes}} | ||
{{Quote background|Blood War Veteran}} | {{Quote background|Blood War Veteran|nolink=yes}} | ||
{{Quote background|Underdark Exile}} | {{Quote background|Underdark Exile|nolink=yes}} | ||
{{Quote background|Grove Tender}} | {{Quote background|Grove Tender|nolink=yes}} | ||
{{Quote background|World-Wise Heroine}} | {{Quote background|World-Wise Heroine|nolink=yes}} | ||
{{Quote background|Legend of Baldur's Gate}} | {{Quote background|Legend of Baldur's Gate|nolink=yes}} | ||
== Template data == | == Template data == | ||
Line 138: | Line 138: | ||
"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" | |||
} | } | ||
}, | }, |
Revision as of 17:05, 28 July 2024
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
{{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 class/subclass quote
Parameter | Description | Type | Status | |
---|---|---|---|---|
Class | 1 | 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.
| String | required |
Quote override | quote | Use this parameter to specify a custom quote instead of a predefined one. | String | optional |
Image override | image | Use this parameter to specify a custom icon instead of a predefined one. | File | optional |
Image position override | image-position | Override the image position from its default position on the right.
| String | optional |
Link override | link | Override where clicking the image links to. | Page name | optional |
Disable link | nolink | Entirely remove the link. This is the same as setting "link=". For use with cut backgrounds that don't have dedicated pages. | Boolean | optional |