Difference between revisions of "Template:Quote"
From Geohashing
imported>TheJosh (Fixed some bugs in the ParserFunctions for this template. Hopefully I haven't broken anything...) |
imported>TheJosh m (Fixed ParserFunctions for width specification) |
||
Line 1: | Line 1: | ||
− | {| cellspacing="4" cellpadding="4" style="width:{{{width|auto | + | {| 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 = auto | 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">{{{2|...but don't quote me on that}}}</div> | |style="border-style:none;padding:4px;"|<div">{{{2|...but don't quote me on that}}}</div> |
Revision as of 12:20, 20 March 2009
“ | <div">...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.