Template:Quote: Difference between revisions
From Heterodontosaurus Balls
No edit summary Tag: Reverted |
No edit summary |
||
| (109 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly>{| style="margin: auto; border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote" | | ||
| | |<div style="padding:4px {{#switch:{{{size|{{{3|{{{quotewidth|{{{width|20px}}}}}}}}}}}} | ||
| | |10px=40px | ||
|30px=60px | |||
|40px=70px | |||
|50px=80px | |||
| | |60px=90px | ||
|#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}}} | |||
}} | }} | ||
< | |}</includeonly><noinclude>'''Quote''' is the [[:Category:Templates|template]] used for quotes, usually at the start of a page or in the "Quotes" section. | ||
==Syntax== | |||
<pre>{{Quote|<the quote>|<the speaker>}}</pre> | |||
==Example== | |||
<pre>{{Quote|Poland|Lithuania}}</pre> | |||
{{Quote|Poland|Lithuania}} | |||
</ | |||
[[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 |
