Difference between revisions of "Template:Quote"

From Hanna-Barbera Wiki
Jump to navigationJump to search
(This should work if anyone wants to add quotes at the start of character pages.)
 
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
:<span class="quote" style="{{#if:{{{nostyle|}}}||font-family:Times New Roman;font-size:11pt;}}font-style:italic">&ldquo;{{{1}}}&rdquo;</span>
{| id="fileinfo" style="border:4px solid #00bfff; background: #c2f8fc; width: auto"
:<span class="quote" style="{{#if:{{{nostyle|}}}||font-family:Times New Roman;font-size:11pt;}}padding-left:15px">&mdash;<span style="font-weight:bold">[[{{{2}}}|{{#switch:{{{4}}}|{{{4}}}|#default={{{2}}}}}]]</span>{{#if:{{{3|}}}|, <span style="font-style:italic">[[{{{3}}}]]</span>}}</span><noinclude>
|-
|style="font-size:30pt; vertical-align: top; color:#00bfff; font-family:{{{font|{{{font1|Times New Roman,serif}}}}}}" rowspan=2 width=20px|'''“'''
|{{{quote|{{{1}}}}}}<br>{{#if:{{{speaker|{{{2|}}}}}}|<cite class="quotation__source"> ― {{{speaker|{{{2}}}}}}{{#if:{{{3|}}}|, <small>{{{3}}}}}</small></cite>}}
|style="font-size:30pt; vertical-align: bottom; color:#00bfff; font-family:{{{font|{{{font1|Times New Roman,serif}}}}}}" rowspan=2 width=20px|'''”'''
|-
|}
<noinclude>
==Usage==
==Usage==
For quoting. For a similar template without automatic linking, see {{tem|quote2}}.
This template is used to display a quotation.
 
==Code==
==Code==
<pre><nowiki>{{quote|The quote.|Who said the quote|Game, year, subject, etc.}}</nowiki></pre>
<pre><nowiki>{{quote|The quote.|Who said the quote (may also include context)|Source (media, year, subject, etc.)}}</nowiki></pre>
'''Example:'''
{{quote|Zoinks!|'''[[Shaggy Rogers]]'''|[[Scooby-Doo, Where Are You! (TV series)|Scooby-Doo, Where Are You!]]}}


[[Category:Formatting templates]][[Category:Templates]]</noinclude>
[[Category:Formatting templates]][[Category:Templates]]</noinclude>

Latest revision as of 04:47, 28 February 2023

{{{1}}}

Usage

This template is used to display a quotation.

Code

{{quote|The quote.|Who said the quote (may also include context)|Source (media, year, subject, etc.)}}

Example:

Zoinks!
Shaggy Rogers, Scooby-Doo, Where Are You!