Difference between revisions of "Template:Quote"

From The Coppermind
Jump to navigation Jump to search
m (better html)
m (+usage list)
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><blockquote style="{{{style|}}};"><!--
+
<includeonly><blockquote style="{{{style|}}}; {{#if:{{{side|}}}| float: {{{side}}}; width: {{{width}}}; }}"><!--
  +
--><em style=" width:{{{width|auto}}} font-size:110%;">&#8220;{{{1}}}&#8221;</em><!--
 
  +
--><span
--><footer style="margin-left:1.5em;">&mdash;{{{2}}}</footer><!--
 
  +
--></blockquote></includeonly><noinclude>[[Category: templates]]
 
  +
style="
A quote formatter. Usage is {{t|quote|Hoid is a fish.|Brandon Sanderson}} to get:
 
  +
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}}
 
{{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