Template:Opening Quote: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<templatestyles src="Template:Opening_Quote/styles.css" /> | |||
{{#cargo_store:_table=OpeningQuotes | {{#cargo_store:_table=OpeningQuotes | ||
|text={{{text|}}} | |text={{{text|}}} | ||
| Line 10: | Line 11: | ||
|title={{PAGENAME}} | |title={{PAGENAME}} | ||
}} | }} | ||
<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 21:15, 21 March 2026
Cargo
This template defines the table "OpeningQuotes". This table has not been created yet.
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 |
