Template:Quote: Difference between revisions
Created page with "<div class="quoteBlock"> <p style="font-size: 1.3em; text-align: center; color: #222; margin: 0;"> <span class="quotationMark">“</span>{{{quote}}}<span class="quotationMark">”</span> </p> <p style="text-align: right; font-size: 1.1em; color: #444; margin-top: 10px;"> — {{{author}}} </p> </div>" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
< | <includeonly><blockquote style="{{{style|}}}; {{#if:{{{side|}}}| float: {{{side}}}; width: {{{width}}}; }}"><!-- | ||
--><span | |||
class="quotation-mark" | |||
style=" | |||
float: left; | |||
width: 20px; | |||
</ | vertical-align: top; | ||
border: none; | |||
color: #B2B7F2; | |||
font-size: 40px; | |||
font-family: 'Times New Roman', Times, serif; | |||
font-weight: bold; | |||
line-height: .6em; | |||
text-align: left; | |||
padding: 10px 10px; | |||
" | |||
>“</span><!-- | |||
--><em style="font-size: 110%;">{{{1}}}</em><!-- | |||
--><span | |||
class="quotation-mark" | |||
style=" | |||
vertical-align: bottom; | |||
color: #B2B7F2; | |||
font-size: 40px; | |||
font-family: 'Times New Roman', Times, serif; | |||
font-weight: bold; | |||
line-height: .4em; | |||
padding: 10px 10px; | |||
" | |||
>”</span><!-- | |||
--><div style="margin-left:1.5em;">—{{{2}}}</div><!-- | |||
--></blockquote><!-- | |||
--></includeonly><noinclude> | |||
A quote formatter. Usage is {{t|quote|Friends, Romans, countrymen, lend me your ears. |Marc Antony, ''Julius Caesar'' (Act 3, Scene 2)(ref template)}} to get: | |||
{{quote|Friends, Romans, countrymen, lend me your ears. |Marc Antony, ''Julius Caesar'' (Act 3, Scene 2)}} | |||
Splitting quotes in multiple lines is preferred but not required: | |||
<pre> | |||
{{quote | |||
|This is what I said | |||
|Somebody that said something | |||
}} | |||
</pre> | |||
== Articles using Template == | |||
{| class="mw-collapsible mw-collapsed" width=100% | |||
|{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}} | |||
|- | |||
|{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}} | |||
|} | |||
[[Category: Templates]] | |||
Revision as of 01:37, 18 March 2025
A quote formatter. Usage is {{quote|Friends, Romans, countrymen, lend me your ears.|Marc Antony, Julius Caesar (Act 3, Scene 2)(ref template)}} to get:
“Friends, Romans, countrymen, lend me your ears. ”
—Marc Antony, Julius Caesar (Act 3, Scene 2)
Splitting quotes in multiple lines is preferred but not required:
{{quote
|This is what I said
|Somebody that said something
}}
Articles using Template
|