Welcome to the newly independent BOXBOY WIKI! |
---|
Learn more about our fork at BOXBOY WIKI!:2025 Fork. If you have edited the Fandom wiki and would like to claim your account here, you can do so via Special:MigrateUserAccount. To ensure you only visit the independent wiki going forward, install the Indie Wiki Buddy browser extension. |
Template:StructuredQuote: Difference between revisions
(Updated default StructuredQuotes template. See https://community.fandom.com/wiki/Help:Structured_Quotes for more details.) |
(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> |
Revision as of 20:19, 21 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
<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>