(Imported default template) |
(Updated default StructuredQuote template. See https://community.fandom.com/wiki/Help:Structured_Quotes for more details.) |
||
Line 1: | Line 1: | ||
<blockquote class="pull-quote"> |
<blockquote class="pull-quote"> |
||
<div |
<div class="pull-quote__text">{{{text|Text...}}}</div> |
||
<p style="text-align: right"><cite>—{{{speaker|speaker}}}{{#if:{{{receiver|}}}|, to {{{receiver|}}}}}{{#if:{{{attribution|}}}|, {{{attribution|}}}}}{{#if:{{{source|}}}|, {{{source|}}}}}</cite></p> |
<p style="text-align: right"><cite>—{{{speaker|speaker}}}{{#if:{{{receiver|}}}|, to {{{receiver|}}}}}{{#if:{{{attribution|}}}|, {{{attribution|}}}}}{{#if:{{{source|}}}|, {{{source|}}}}}</cite></p> |
||
</blockquote> |
</blockquote> |
||
<noinclude> |
<noinclude> |
||
==Description== |
|||
{{#if:{{PROTECTIONEXPIRY:edit | Template:StructuredQuote/doc }} | {{Documentation}} | }} |
|||
A template used for displaying Structured Quotes ( ''<nowiki>{{#SQuote:}}</nowiki>'' ). If you want to unlock the full potential of Structured Quotes, please avoid using this template directly, and consider ''<nowiki>{{#SQuote:}}</nowiki>'' markup instead. |
|||
See https://community.fandom.com/wiki/Help:Structured_Quotes for extra information about Structured Quotes. |
|||
==Syntax== |
|||
<pre> |
|||
{{StructuredQuote |
|||
| text = |
|||
| speaker = |
|||
| receiver = |
|||
| attribution = |
|||
| source = |
|||
}} |
|||
</pre> |
|||
==Samples== |
|||
{{StructuredQuote |
|||
|text=Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. (...) |
|||
|speaker=[[Yoda]] |
|||
|receiver=[[Luke Skywalker]] |
|||
|source=[[Star Wars: Episode V The Empire Strikes Back]] |
|||
}} |
|||
<pre> |
|||
{{StructuredQuote |
|||
|text=Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. (...) |
|||
|speaker=[[Yoda]] |
|||
|receiver=[[Luke Skywalker]] |
|||
|source=[[Star Wars: Episode V The Empire Strikes Back]] |
|||
}} |
|||
</pre> |
|||
== TemplateData == |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"text": { |
|||
"label": "Quote text", |
|||
"description": "quote text", |
|||
"type": "content", |
|||
"required": true |
|||
}, |
|||
"speaker": { |
|||
"label": "Person(s) quoted", |
|||
"description": "individual(s) who uttered or wrote the quoted words (wikitext links, comma-separated)", |
|||
"type": "content", |
|||
"required": true |
|||
}, |
|||
"receiver": { |
|||
"label": "Person(s) to whom the quote was spoken", |
|||
"description": "person the quote was spoken to (wikitext links, comma-separated)", |
|||
"type": "content", |
|||
"suggested": true |
|||
}, |
|||
"attribution": { |
|||
"label": "Attribution(s)", |
|||
"description": "attribution (wikitext links, comma-separated)", |
|||
"type": "content", |
|||
"suggested": true |
|||
}, |
|||
"source": { |
|||
"label": "Quote source", |
|||
"description": "place where it was spoken (wikitext link)", |
|||
"type": "content", |
|||
"suggested": true |
|||
} |
|||
}, |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
</noinclude> |
Revision as of 19:46, 21 October 2024
Text...—speaker
Description
A template used for displaying Structured Quotes ( {{#SQuote:}} ). If you want to unlock the full potential of Structured Quotes, please avoid using this template directly, and consider {{#SQuote:}} markup instead. See https://community.fandom.com/wiki/Help:Structured_Quotes for extra information about Structured Quotes.
Syntax
{{StructuredQuote | text = | speaker = | receiver = | attribution = | source = }}
Samples
Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. (...)—Yoda, to Luke Skywalker, Star Wars: Episode V The Empire Strikes Back
{{StructuredQuote |text=Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. (...) |speaker=[[Yoda]] |receiver=[[Luke Skywalker]] |source=[[Star Wars: Episode V The Empire Strikes Back]] }}
TemplateData
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quote text | text | quote text | Content | required |
Person(s) quoted | speaker | individual(s) who uttered or wrote the quoted words (wikitext links, comma-separated) | Content | required |
Person(s) to whom the quote was spoken | receiver | person the quote was spoken to (wikitext links, comma-separated) | Content | suggested |
Attribution(s) | attribution | attribution (wikitext links, comma-separated) | Content | suggested |
Quote source | source | place where it was spoken (wikitext link) | Content | suggested |