Difference between revisions of "Template:Quote"

From Geohashing
imported>Nemo
(updated template a little. closer to original wikipedia 'Quote Box' now)
imported>Nemo
(even more in line with wikipedia Quote Box)
Line 1: Line 1:
{| 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}}};"
+
{| cellspacing="4" cellpadding="4" style="width:{{{width}}}; float:{{{1|align|right}}}; border: 1px solid #aaa; font-size:90%; padding:4px; margin: {{ #switch: {{{align}}} | left = 1em 1em 1em 0em | center = auto | 1em 0em 1em 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:4px;"|“
 
|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;"|”
 
 
|-
 
|-
|colspan=3 style="text-align:right; padding-right: 2em;"|<div class="templatequotecite">&#8212;<cite>{{{3|Anon}}}</cite></div>
+
|align="center"|{{{2|quote}}}<br>{{{3|source}}}
|}
+
|}<!-- Inserted from [[Template:Quote box]] -->
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 15:45, 13 July 2008

quote
source

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