Template:Opening Quote: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
| title = {{PAGENAME}} | | title = {{PAGENAME}} | ||
}}} | }}} | ||
<templatestyles src="Template: | <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>}} | ||
Revision as of 17:40, 21 March 2026
}
Text...
Cargo
{{#cargo_declare: _table=OpeningQuotes
| text = Text
| speaker = String
| attribution = String
| location = String
| source = String
| image = String
| imagecaption = String
| title = String
}}
Description
A template for displaying an opening pull quote at the top of an episode or chapter article. Built on the same parameters as {{StructuredQuote}}.
If you want the full feature set (Cargo storage, image support, dialogue formatting), use {{StructuredQuote}} or {{#SQuote:}} directly instead.
See https://community.fandom.com/wiki/Help:Structured_Quotes for more information about Structured Quotes.
Syntax
{{Opening_Quote
| text =
| speaker = Speaker 1, Speaker 2, ...
| attribution =
| source =
}}
Sample
}
Fry: How can I live my life if I can't tell good from evil?
Bender: Ah, they're both fine choices whatever floats your boat.
TemplateData
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 |
