Jump to content

Template:StructuredQuote: Difference between revisions

From wiki58
Updated default StructuredQuote template. See https://community.fandom.com/wiki/Help:Structured_Quotes for more details.
Replace Fandom component markup with native Wikipedia classes; retain source parameters, content, and archived history
 
Line 1: Line 1:
<blockquote class="pull-quote">
<blockquote class="templatequote">
<div class="pull-quote__text">{{{text|Text...}}}</div>
<div>{{{text|Text...}}}</div>
<p style="text-align: right"><cite>—{{{speaker|speaker}}}{{#if:{{{receiver|}}}|, to {{{receiver|}}}}}{{#if:{{{attribution|}}}|, {{{attribution|}}}}}{{#if:{{{source|}}}|, {{{source|}}}}}</cite></p>
</blockquote>
</blockquote>
<div class="templatequotecite"><p style="display: inline; padding-left: 2.3em;"><cite>—{{{speaker|speaker}}}{{#if:{{{receiver|}}}|, to {{{receiver|}}}}}{{#if:{{{attribution|}}}|, {{{attribution|}}}}}{{#if:{{{source|}}}|, {{{source|}}}}}</cite></p></div>
<noinclude>
<noinclude>
==Description==
==Description==

Latest revision as of 17:59, 11 November 2026

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. (...)
{{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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Quote texttext

quote text

Contentrequired
Person(s) quotedspeaker

individual(s) who uttered or wrote the quoted words (wikitext links, comma-separated)

Contentrequired
Person(s) to whom the quote was spokenreceiver

person the quote was spoken to (wikitext links, comma-separated)

Contentsuggested
Attribution(s)attribution

attribution (wikitext links, comma-separated)

Contentsuggested
Quote sourcesource

place where it was spoken (wikitext link)

Contentsuggested