Difference between revisions of "Template:Quote"

From Geohashing
imported>Nemo
m (and by padding, I mean padding, not margin)
imported>Nemo
(updated template a little. closer to original wikipedia 'Quote Box' now)
Line 1: Line 1:
{|class=float style="border-style:solid;border-width:1px;border-color:#ddd;background-color:#eee;padding:.5em;" align={{{1|align}}}
+
{| cellspacing="4" cellpadding="4" style="width:{{{width}}}; float:{{{1|align|right}}}; border: 1px solid #aaa; font-size:90%; padding:4px; margin:0 {{#ifeq:{{{1|align}}}|center|auto}} 1em; background-color: #f9f9f9;clear:{{{1|align}}};"
|width=20 valign="top" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:8px;"|“
+
|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:8px;"|<div">{{{2|...but 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:8px;"|”
+
|width=20 valign="bottom" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:center; padding:4px;"|”
 
|-
 
|-
|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>

Revision as of 02:24, 7 June 2008

<div">...but don't quote me on that
Anon

Usage

{{quote|alignment|This is a quote|attribution}}

For use in quoting people within text.

  • Alignment may be left/center/right.
  • Normal rules of wikitext apply within the quote. Make sure to preview however