Welcome to our new Skyland! Article rewrites are welcome. If you see any missing images, please feel free to add them. Please use the Aboutfile template when uploading and add categories.
We are also aware of some articles being unavailable. Please bear with us while we are working to get them fixed.

Template:StructuredQuote: Difference between revisions

From Skylanders Wiki
FANDOMbot (talk | contribs)
Updated default StructuredQuotes template. See https://community.fandom.com/wiki/Help:Structured_Quotes for more details.
FANDOMbot (talk | contribs)
Updated default StructuredQuote template. See https://community.fandom.com/wiki/Help:Structured_Quotes for more details.
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<blockquote class="pull-quote">
<blockquote class="pull-quote">
<div style="pull-quote_text>{{{text|Text...}}}</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>
==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.


<noinclude>
==Syntax==
{{#if:{{PROTECTIONEXPIRY:edit | Template:StructuredQuote/doc }} | {{Documentation}} | }}
<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=[[w:c:en.starwars:Yoda|Yoda]]
|receiver=[[w:c:en.starwars:Luke_Skywalker|Luke Skywalker]]
|source=[[w:c:en.starwars:Star_Wars:_Episode_V_The_Empire_Strikes_Back|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>

Latest revision as of 22:42, November 14, 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

<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>