Template:Opening Quote: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=OpeningQuotes | {{#cargo_store:_table=OpeningQuotes | ||
|speaker={{{speaker|{{{1|}}}}}} | |speaker={{{speaker|{{{1|}}}}}} | ||
}} | }} | ||
<templatestyles src="Template:Opening_Quote/styles.css" /> | |||
<blockquote class="pull-quote opening-quote"> | <blockquote class="pull-quote opening-quote"> | ||
{{#if:{{{image|}}}|<div class="pull-quote__image">[[File:{{{image|}}}|left|thumb{{#if:{{{imagecaption|}}}||{{{imagecaption|}}}}}]]</div>}} | {{#if:{{{image|}}}|<div class="pull-quote__image">[[File:{{{image|}}}|left|thumb{{#if:{{{imagecaption|}}}||{{{imagecaption|}}}}}]]</div>}} | ||
<div class="pull-quote__text">{{{text|Text...}}}</div> | <div class="pull-quote__text">{{{text|Text...}}}</div> | ||
<p style="text-align: right"><cite>{{#if:{{{speaker|{{{1|}}}}}}|— {{{speaker|{{{1}}}}}}}}{{#if:{{{attribution|}}}|, {{{attribution|}}}}}<br/>{{#if:{{{location|}}}|{{{location|}}}<br/>}}{{#if:{{{source|}}}|{{{source|}}}}}</cite></p> | <p style="text-align: right"><cite>{{#if:{{{speaker|{{{1|}}}}}}|— {{{speaker|{{{1}}}}}}}}{{#if:{{{attribution|}}}|, {{{attribution|}}}}}<br/>{{#if:{{{location|}}}|{{{location|}}}<br/>}}{{#if:{{{source|}}}|{{{source|}}}}}</cite></p> | ||
</blockquote> | </blockquote> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=OpeningQuotes | |||
|speaker=String | |speaker=String | ||
}} | }} | ||
{{Documentation}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 02:24, 22 March 2026
This template defines the table "OpeningQuotes". This table has not been created yet.
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Displays an opening pull quote for an episode or chapter article. For dialogue or advanced features, use {{StructuredQuote}} instead.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Quote text | text | The quoted text. | Content | required |
| Speaker(s) | speaker | Comma-separated list of speakers (wikitext links accepted). E.g. [[Fry]], [[Bender]] | Content | required |
| Attribution | attribution | Additional attribution context (wikitext links, comma-separated). | Content | suggested |
| Location | location | Specific location within the source, e.g. season and episode number. | Content | suggested |
| Image | image | Filename of an image to display to the left of the quote (e.g. Repugnant.jpg). | File | suggested |
| Image caption | imagecaption | Caption displayed beneath the image. | String | suggested |
| Source | source | The work the quote is from (wikitext link). | Content | suggested |