Template:Quote character: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Replaced DiQ with this template)
 
Line 11: Line 11:
| image-border-color = black
| image-border-color = black
}}</includeonly><noinclude>{{documentation|content=
}}</includeonly><noinclude>{{documentation|content=
{{shortcut|DiQ}}
This template is a subtype of [[Template:Quote fancy]] specifically for character quotes.
This template is a subtype of [[Template:Quote fancy]] specifically for character quotes.


Line 33: Line 35:
</nowiki>
</nowiki>
}}
}}
== Comparison with [[Template:DiQ]] ==
For comparison, here is the new template (top) and [[Template:DiQ]] (below).
{{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.}}
{{DiQ|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 ==
== Template data ==

Latest revision as of 00:06, 5 November 2024

Template documentation
Shortcut

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

Examples

The typical format of a quote.

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.

A quote with a character alias.

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.

A template formatted in block style using explicitly named parameters.

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.

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