Template:Quote: Difference between revisions
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="quote"> | <div class="quote"> | ||
:<span {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}>{{#if:{{{noquote|}}}||"}}''{{{1}}}''{{#if:{{{trans|}}}||"}}</span> | :<span {{#if:{{{3|}}}|title="Source: {{{3}}}"|}}>{{#if:{{{noquote|}}}||"}}''{{{1}}}''{{#if:{{{trans|}}}||"}}</span> | ||
:―{{{2}}}<span class="noprint">{{#if:{{{audio|}}}| — [[File:Quote-audio.png|20px|(audio)]][[Media:{{{audio}}}|Listen]] <small>([[:File:{{{audio}}}|file info]])</small>|}}{{#if:{{{url|}}}|<sup class="plainlinks">[{{{url|}}} <nowiki>[src]</nowiki>]</sup>|{{#if:{{{3|}}} | :―{{{2}}}<span class="noprint">{{#if:{{{audio|}}}| — [[File:Quote-audio.png|20px|(audio)]][[Media:{{{audio}}}|Listen]] <small>([[:File:{{{audio}}}|file info]])</small>|}}{{#if:{{{url|}}}|<sup class="plainlinks">[{{{url|}}} <nowiki>[src]</nowiki>]</sup>|{{#if:{{{3|}}}|<sup>[[{{{3|}}}|[src]]]</sup>|<includeonly>[[Category:Unsourced quotes]]</includeonly>}}{{#if:{{{other|}}}| <small>({{{other}}})</small>}}}}</span></div><noinclude>__NOTOC__ | ||
< | ==Instructions== | ||
<code><nowiki>{{Quote|dialogue|attribution|source}}</nowiki></code> | |||
;<code>dialogue</code>: this is where the actual quote text goes. To create a linebreak, use the following formatting: <code><nowiki>''"<br />"''</nowiki></code> For quotes with more than two speakers, use {{Tl|Dialogue}} instead. | |||
;<code>attribution</code>: a short description of the speakers, and additional context if needed. | |||
;<code>source</code>: a reference (footnote) formatted the same way as anywhere else in the article. | |||
*In case you don't want to have a quotation mark (") at the start of the quote, add <tt>|noquote=1</tt> somewhere in the template. | |||
*In case you don't want to have a quotation mark (") at the end of the quote, add <tt>|trans=1</tt> somewhere in the template. | |||
<code>< | ===Optional parameters=== | ||
;<code>|audio=AudioFile.ogg</code>: adds a link to an audio version of the quote. Do not include the file prefix. | |||
;<code>|url=</code>: adds the source url in case the source is an external link. | |||
;<code>|other=</code>: adds other detailed information regarding the quote, such as being from a ''screenplay'' or a ''deleted scene''. | |||
===Notes=== | |||
If any text is assigned to the ''source'' field, it will be rendered as a browser [[Wikipedia:Tooltip|tooltip]]. | |||
==Examples== | |||
Code: <code><nowiki>{{Quote|To infinity... and beyond!|Buzz Lightyear|The Adventure Begins}}</nowiki></code> | |||
Result: | |||
{{Quote|To infinity... and beyond!|Buzz Lightyear|The Adventure Begins}} | |||
To | ===Two speakers=== | ||
Code: <code><nowiki>{{Quote|Uh, hey. Lightyear. You don't still say..."<br>"To infinity... and beyond!|Warp and Buzz|Tag Team}}</nowiki></code> | |||
{{Quote|Uh, hey. Lightyear. You don't still say... | Result: | ||
{{Quote|Uh, hey. Lightyear. You don't still say..."<br>"To infinity... and beyond!|Warp and Buzz|Tag Team}} | |||
===Audio=== | |||
Code: <code><nowiki>{{Quote|To infinity... and beyond!|Buzz Lightyear|audio=Buzz Lightyear - To infinity and beyond.ogg|The Adventure Begins}}</nowiki></code> | |||
Result: | |||
{{Quote|To infinity... and beyond!|Buzz Lightyear|audio=Buzz Lightyear - To infinity and beyond.ogg|The Adventure Begins}} | |||
===External links=== | |||
Code: <code><nowiki>{{Quote|We were trying to get the feel of Buzz Lightyear being a fish out of water that was in Toy Story, except we were doing a story where he's a fish in the water, but we had to get that humor.|Tad Stones|url=https://animationguild.org/oral_history/tad-stones/}}</nowiki></code> | |||
Result: | |||
{{Quote|We were trying to get the feel of Buzz Lightyear being a fish out of water that was in Toy Story, except we were doing a story where he's a fish in the water, but we had to get that humor.|Tad Stones|url=https://animationguild.org/oral_history/tad-stones/}} | |||
==Credits== | |||
From [http://pirates.fandom.com/wiki/Template:Quote Template:Quote] on [https://pirates.fandom.com Pirates of the Caribbean Wiki]. | |||
[[Category:Quotation templates|Quote]]</noinclude> | [[Category:Quotation templates|Quote]]</noinclude> | ||
Revision as of 20:52, 22 August 2025
- "{{{1}}}"
- ―{{{2}}}
Instructions
{{Quote|dialogue|attribution|source}}
dialogue- this is where the actual quote text goes. To create a linebreak, use the following formatting:
''"<br />"''For quotes with more than two speakers, use Template:Tl instead. attribution- a short description of the speakers, and additional context if needed.
source- a reference (footnote) formatted the same way as anywhere else in the article.
- In case you don't want to have a quotation mark (") at the start of the quote, add |noquote=1 somewhere in the template.
- In case you don't want to have a quotation mark (") at the end of the quote, add |trans=1 somewhere in the template.
Optional parameters
|audio=AudioFile.ogg- adds a link to an audio version of the quote. Do not include the file prefix.
|url=- adds the source url in case the source is an external link.
|other=- adds other detailed information regarding the quote, such as being from a screenplay or a deleted scene.
Notes
If any text is assigned to the source field, it will be rendered as a browser tooltip.
Examples
Code: {{Quote|To infinity... and beyond!|Buzz Lightyear|The Adventure Begins}}
Result:
- "To infinity... and beyond!"
- ―Buzz Lightyear
Two speakers
Code: {{Quote|Uh, hey. Lightyear. You don't still say..."<br>"To infinity... and beyond!|Warp and Buzz|Tag Team}}
Result:
- "Uh, hey. Lightyear. You don't still say..."
"To infinity... and beyond!" - ―Warp and Buzz
Audio
Code: {{Quote|To infinity... and beyond!|Buzz Lightyear|audio=Buzz Lightyear - To infinity and beyond.ogg|The Adventure Begins}}
Result:
- "To infinity... and beyond!"
- ―Buzz Lightyear
External links
Code: {{Quote|We were trying to get the feel of Buzz Lightyear being a fish out of water that was in Toy Story, except we were doing a story where he's a fish in the water, but we had to get that humor.|Tad Stones|url=https://animationguild.org/oral_history/tad-stones/}}
Result:
- "We were trying to get the feel of Buzz Lightyear being a fish out of water that was in Toy Story, except we were doing a story where he's a fish in the water, but we had to get that humor."
- ―Tad Stones