Template:StructuredQuote: Difference between revisions
imported>FANDOMbot Updated default StructuredQuotes template. See https://community.fandom.com/wiki/Help:Structured_Quotes for more details. |
imported>FANDOMbot 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== | ||
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> |