Difference between revisions of "Template:Quote"
From Geohashing
imported>TheJosh m (Fixed ParserFunctions for width specification) |
imported>R0d3n7z (fix stray quotation marks) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {| 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 = | + | {| 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:4px;"|“ | |width=20 valign="top" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:4px;"|“ | ||
− | |style="border-style:none;padding:4px;"|<div | + | |style="border-style:none;padding:4px;"|<div>{{{2|...but don't quote me on that}}}</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:4px;"|” | ||
|- | |- |
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.