Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Opening Quote: Difference between revisions

Template page
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Template:Opening_Quote/styles.css" />
{{#cargo_store:_table=OpeningQuotes
{{#cargo_store:_table=OpeningQuotes
|quote_text={{{text|}}}
|speaker={{{speaker|{{{1|}}}}}}
|speaker={{{speaker|{{{1|}}}}}}
|attribution={{{attribution|}}}
|location={{{location|}}}
|source={{{source|}}}
|image={{{image|}}}
|imagecaption={{{imagecaption|}}}
|title={{PAGENAME}}
}}
}}
 
<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|}}}|&#124;{{{imagecaption|}}}}}]]</div>}}
{{#if:{{{image|}}}|<div class="pull-quote__image">[[File:{{{image|}}}|left|thumb{{#if:{{{imagecaption|}}}|&#124;{{{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>
<div style="clear: both;"></div>
</blockquote>
</blockquote>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{#cargo_declare:_table=OpeningQuotes
{{#cargo_declare:_table=OpeningQuotes
|quote_text=Text
|speaker=String
|speaker=String
|attribution=String
|location=String
|source=String
|image=String
|imagecaption=String
|title=String
}}
}}
{{Documentation}}
{{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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Quote texttext

The quoted text.

Contentrequired
Speaker(s)speaker

Comma-separated list of speakers (wikitext links accepted). E.g. [[Fry]], [[Bender]]

Contentrequired
Attributionattribution

Additional attribution context (wikitext links, comma-separated).

Contentsuggested
Locationlocation

Specific location within the source, e.g. season and episode number.

Contentsuggested
Imageimage

Filename of an image to display to the left of the quote (e.g. Repugnant.jpg).

Filesuggested
Image captionimagecaption

Caption displayed beneath the image.

Stringsuggested
Sourcesource

The work the quote is from (wikitext link).

Contentsuggested