StructuredQuote: Difference between revisions

From Bomb Jack Wiki
Updated default StructuredQuote template. See https://community.fandom.com/wiki/Help:Structured_Quotes for more details.
 
Metaknightfanatic (talk | contribs)
m 3 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
<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==
==Description==
Line 23: Line 22:
{{StructuredQuote
{{StructuredQuote
|text=Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. (...)
|text=Size matters not. Look at me. Judge me by my size, do you? Hmm? Hmm. And well you should not. (...)
|speaker=[[Yoda]]
|speaker=[[w:c:en.starwars:Yoda|Yoda]]
|receiver=[[Luke Skywalker]]
|receiver=[[w:c:en.starwars:Luke_Skywalker|Luke Skywalker]]
|source=[[Star Wars: Episode V The Empire Strikes Back]]
|source=[[w:c:en.starwars:Star_Wars:_Episode_V_The_Empire_Strikes_Back|Star Wars: Episode V The Empire Strikes Back]]
}}
}}
<pre>
<pre>

Latest revision as of 06:59, 9 January 2025

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

Template:StructuredQuote

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