Difference between revisions of "Template:Quote"

From Geohashing
imported>Nemo
(added usage)
imported>R0d3n7z
(fix stray quotation marks)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|class=float border=0 style="background-color: transparent;" align={{{1|align}}}
+
{| cellspacing="4" cellpadding="4" style="width:{{#if: {{{width|}}}|{{{width}}}px|auto}}; float:{{{1|left}}}; border: 1px solid #aaa; font-size:90%; padding:4px; margin: {{ #switch: {{{1|left}}} | left = 1em 1em 1em 0em | center = 1em 1em 1em 1em | 1em 0em 1em 1em }}; background-color: #f9f9f9; clear:{{{1|left}}};"
|width=20 valign="top" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:10px;"|“
+
|width=20 valign="top" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:4px;"|“
|style="padding:10px;"|<div">{{{2|Don't quote me on that}}}
+
|style="border-style:none;padding:4px;"|<div>{{{2|...but don't quote me on that}}}</div>
</div>
+
|width=20 valign="bottom" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:center; padding:4px;"|”
|width=20 valign="bottom" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:center; padding:10px;"|”
 
 
|-
 
|-
|colspan=3 style="text-align:right; padding-right: 20px;"|<div class="templatequotecite">&#8212;<cite>{{{3|Anon}}}</cite></div>
+
|colspan=3 style="text-align:right; padding-right: 2em;"|<div class="templatequotecite">&#8212;<cite>{{{3|Anon}}}</cite></div>
|}
+
|}<noinclude>
<noinclude>
+
<div style="clear: both;"></div>
 
== Usage ==
 
== Usage ==
  <nowiki>{{quote|alignment|This is a quote|attribution}}</nowiki>
+
  <nowiki>{{quote|alignment|This is a quote|attribution|width=400}}</nowiki>
* For use in quoting people within text. Alignment may be left/center/right.
+
For use in quoting people within text.
* Normal rules of wikitext apply within the quote. Make sure to preview however!
+
* Alignment may be left/center/right.
 +
* Width parameter is optional, but recommended, lest your quote stretch out horizontally to all of infinity.
 +
* Normal rules of wikitext apply within the quote. Make sure to preview, however.
 
</noinclude>
 
</noinclude>

Latest revision as of 16:15, 30 March 2017

...but don't quote me on that
Anon

Usage

{{quote|alignment|This is a quote|attribution|width=400}}

For use in quoting people within text.

  • Alignment may be left/center/right.
  • Width parameter is optional, but recommended, lest your quote stretch out horizontally to all of infinity.
  • Normal rules of wikitext apply within the quote. Make sure to preview, however.