Template:Quote: Difference between revisions

From Heterodontosaurus Balls
No edit summary
Tags: Manual revert Reverted
No edit summary
 
(107 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div blockquote class="quote {{{class|}}}" style="display: flex; flex-direction: column; text-align: center; padding: 0em 0; {{#switch: {{{align|center}}}
<includeonly>{| style="margin: auto; border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote" |
| left  = float: left; border: none; border-left: none; border-right: none; width: {{{width|3px}}};
|<div style="padding:4px {{#switch:{{{size|{{{3|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
| right  = float: right; border: none; border-left: none; border-right: none; width: {{{width|3px}}};
|10px=40px
| center = margin: 0em auto; width: {{{width|70%}}};
|30px=60px
}} {{{style|{{{css|}}}}}}">
|40px=70px
{{#if: {{{image|}}}
|50px=80px
| [[File:{{{image|}}}|30px]]
|60px=90px
| <sub class="mobile-hidden" style="font-size:70px; line-height: 0; vertical-align: -15px" title="Decorative text">“</sub>
|#default=50px}};position:relative;"><span style="position:absolute;left:10px;top:-6px;z-index:1;font-family:'Times New Roman',serif;font-weight:bold;color:#B2B7F2;font-size:{{#switch:{{{size|{{{3|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#default=36px}}">“</span><span style="position:absolute;right:10px;bottom:-16px;z-index:1;font-family:'Times New Roman',serif;font-weight:bold;color:#B2B7F2;font-size:{{#switch:{{{size|{{{3|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#default=36px}}">”</span><span style="font-size: 16px">{{{1|Insert the text of the quote here, without quotation marks}}}</span></div>
|-
{{#if:{{{2|}}}|
{{!}} style="padding:4px 10px 8px;font-size:14px;line-height:1.6em;text-align:right;" {{!}} — {{{2}}}
}}
}}
<span style="font-size: 1.1em;">{{{1|{{{quote|{{{text|<noinclude>''Insert the text of the quote here, without quotation marks.''</noinclude>}}}}}}}}}</span><!--
|}</includeonly><noinclude>'''Quote''' is the [[:Category:Templates|template]] used for quotes, usually at the start of a page or in the "Quotes" section.


--><cite style="margin-left: 1em;">{{#if: {{{2|{{{person|{{{by|<noinclude>A random person</noinclude>}}}}}}}}}
==Syntax==
| <br class="mobile-hidden" />—{{{2|{{{person|{{{by|<noinclude>A random person</noinclude>}}}}}}}}}<!--
<pre>{{Quote|<the quote>|<the speaker>}}</pre>
-->{{#if: {{{3|{{{source|{{{from|<noinclude>The source</noinclude>}}}}}}}}}
 
  |, {{{3|{{{source|{{{from|<noinclude>The source</noinclude>}}}}}}}}}
==Example==
  }}
<pre>{{Quote|Poland|Lithuania}}</pre>
}}
 
<br>
{{Quote|Poland|Lithuania}}
</div>
 
[[Category:Templates]]</noinclude>

Latest revision as of 15:33, 15 April 2026

Quote is the template used for quotes, usually at the start of a page or in the "Quotes" section.

Syntax

{{Quote|<the quote>|<the speaker>}}

Example

{{Quote|Poland|Lithuania}}
Poland
— Lithuania