Template:Quote character

From bg3.wiki
Revision as of 00:46, 21 July 2024 by NtCarlson (talk | contribs) (Created page with "<includeonly>{{Quote fancy | quote = {{{1|{{{quote|}}}}}} | image = Portrait {{{2|{{{character|}}}}}}.png | link = {{{2|{{{character|}}}}}} | author = [[{{{2|{{{character|}}}}}}{{#if:{{{alias|}}}|{{!}}{{{alias}}}}}]]{{{3|{{{context|}}}}}} | height = 70 | font-size = 100% | align = center | image-border-shape = diamond | image-border-width = 4 | image-border-color = black }}</includeonly><noinclude>{{documentation|content= This template is a subtype of Template:Quote fa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation

This template is a subtype of Template:Quote fancy specifically for character quotes.

Examples

Markup
{{Quote character|There's a gust of Weave about you, but it's a mere breeze. I need a tempest.|Gale|'s hunger for powerful magic.}}
Renders as
Portrait Gale.png
There's a gust of Weave about you, but it's a mere breeze. I need a tempest.
Gale's hunger for powerful magic.
Markup
{{Quote character|Who am I? Your only chance of survival.|Lae'zel| introduces herself.|alias=Bae'zel}}
Renders as
Portrait Lae'zel.png
Who am I? Your only chance of survival.
Bae'zel introduces herself.
Markup
{{Quote character
| quote = Avernus was never my home. It was my prison. I'm free now. AND I'M NEVER GOING BACK.
| character = Karlach
| context = , confronting servants of Zariel.
}}
Renders as
Portrait Karlach.png
Avernus was never my home. It was my prison. I'm free now. AND I'M NEVER GOING BACK.
Karlach, confronting servants of Zariel.

Comparison with Template:DiQ

For comparison, here is the new template (top) and Template:DiQ (below). Note in particular how the portrait image for DiQ is blurred (Presumably because the image is rescaled and transformed several times in the template). The new template avoids this issue.


Portrait Gale.png
There's a gust of Weave about you, but it's a mere breeze. I need a tempest.
Gale's hunger for powerful magic.


Portrait Gale.png
There's a gust of Weave about you, but it's a mere breeze. I need a tempest.
Gale's hunger for powerful magic.

Template data

Display a character quote with accompanying portrait

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Quote1 quote

The quote

Stringrequired
Character2 character

The author of the quote. This must be a character with an accompanying Portrait <character>.png file.

Stringrequired
Context3 context

Some additional context to append to the quote attribution.

Stringoptional
Aliasalias

An alias to use for the character for cases when the character name does not match the corresponding page exactly.

Stringoptional