Difference between revisions of "Template:Quote"

From The Coppermind
Jump to navigation Jump to search
(Created page with '<div style="margin-left:1em; {{{style|}}}; width:{{{width|auto}}} font-size:110%;"><em>“{{{1}}}”</em><div style="font-size:100%; margin-left:1em;">—{{{2}}} <!--{{#if:{{…')
 
m (+usage list)
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="margin-left:1em; {{{style|}}}; width:{{{width|auto}}} font-size:110%;"><em>“{{{1}}}”</em><div style="font-size:100%; margin-left:1em;">&mdash;{{{2}}} <!--{{#if:{{{3|}}}|''on {{{3|}}}''|}}--></div></div><noinclude>
+
<includeonly><blockquote style="{{{style|}}}; {{#if:{{{side|}}}| float: {{{side}}}; width: {{{width}}}; }}"><!--
  +
  +
--><span
  +
  +
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;
  +
"
  +
  +
>&#8220;</span><!--
  +
  +
--><em style="font-size: 110%;">{{{1}}}</em><!--
  +
  +
--><span
  +
  +
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;
  +
"
  +
  +
>&#8221;</span><!--
  +
  +
--><div style="margin-left:1.5em;">&mdash;{{{2}}}</div><!--
  +
  +
--></blockquote><!--
  +
  +
--></includeonly><noinclude>[[Category: Templates]]
  +
  +
A quote formatter. Usage is {{t|quote|Hoid is a fish.|Brandon Sanderson(ref template)}} to get:
  +
  +
{{quote|Hoid is a fish.|Brandon Sanderson}}
  +
  +
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}}
  +
|}

Revision as of 08:44, 19 April 2020


A quote formatter. Usage is {{quote|Hoid is a fish.|Brandon Sanderson(ref template)}} to get:

Hoid is a fish.

—Brandon Sanderson

Splitting quotes in multiple lines is preferred but not required:

{{quote
|This is what I said
|Somebody that said something
}}

Articles using Template