Template:Opening Quote: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#cargo_store: _table=OpeningQuotes | <includeonly> | ||
| text | {{#cargo_store:_table=OpeningQuotes | ||
| speaker | |text={{{text|}}} | ||
| attribution | |speaker={{{speaker|}}} | ||
| location | |attribution={{{attribution|}}} | ||
| source | |location={{{location|}}} | ||
| image | |source={{{source|}}} | ||
| imagecaption = {{{imagecaption|}}} | |image={{{image|}}} | ||
| title | |imagecaption={{{imagecaption|}}} | ||
|title={{PAGENAME}} | |||
}} | }} | ||
<templatestyles src="Template:Opening_Quote/styles.css" /> | <templatestyles src="Template:Opening_Quote/styles.css" /> | ||
| Line 21: | Line 22: | ||
{{#cargo_declare: _table=OpeningQuotes | {{#cargo_declare:_table=OpeningQuotes | ||
| text | |text=Text | ||
| speaker | |speaker=String | ||
| attribution | |attribution=String | ||
| location | |location=String | ||
| source | |source=String | ||
| image | |image=String | ||
| imagecaption = String | |imagecaption=String | ||
| title | |title=String | ||
}} | }} | ||
Revision as of 21:09, 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 |
