Template:StructuredQuote: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>FANDOMbot
Imported default template
 
Create: Minecraft Mod Wiki>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 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>
<noinclude>
{{#if:{{PROTECTIONEXPIRY:edit | Template:StructuredQuote/doc }} | {{Documentation}} | }}
==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>

Revision as of 15:11, 22 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.

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