Template:Quote character: Difference between revisions
Jump to navigation
Jump to search
(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...") |
(Replaced DiQ with this template) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| height = 70 | | height = 70 | ||
| font-size = 100% | | font-size = 100% | ||
| align = center | | image-align = center | ||
| image-border-shape = diamond | | image-border-shape = diamond | ||
| image-border-width = 4 | | image-border-width = 4 | ||
| 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 16: | Line 18: | ||
{{Template demo | {{Template demo | ||
| style = list | | style = list | ||
| caption 1 = The typical format of a quote. | |||
| <nowiki> | | <nowiki> | ||
{{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.}} | {{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.}} | ||
</nowiki> | </nowiki> | ||
| caption 2 = A quote with a character alias. | |||
| <nowiki> | | <nowiki> | ||
{{Quote character|Who am I? Your only chance of survival.|Lae'zel| introduces herself.|alias=Bae'zel}} | {{Quote character|Who am I? Your only chance of survival.|Lae'zel| introduces herself.|alias=Bae'zel}} | ||
</nowiki> | </nowiki> | ||
| caption 3 = A template formatted in block style using explicitly named parameters. | |||
| <nowiki> | | <nowiki> | ||
{{Quote character | {{Quote character | ||
Line 30: | Line 35: | ||
</nowiki> | </nowiki> | ||
}} | }} | ||
== Template data == | == Template data == |
Latest revision as of 00:06, 5 November 2024
Template documentation
Shortcut
- {{DiQ}}
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
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
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
Template data
Display a character quote with accompanying portrait
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quote | 1 quote | The quote | String | required |
Character | 2 character | The author of the quote. This must be a character with an accompanying Portrait <character>.png file. | String | required |
Context | 3 context | Some additional context to append to the quote attribution. | String | optional |
Alias | alias | An alias to use for the character for cases when the character name does not match the corresponding page exactly. | String | optional |