Template:Quote: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: <div style="float:right;width:400px;margin:2em;"> {| |valign="top" | 20px  || {{{text}}} 20px |} <p style="font-size:smaller;line-heig...)
 
m (float)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:right;width:400px;margin:2em;">
<div style="float:{{{float|right}}};width:400px;margin:2em;">
{|
{|
|valign="top" | [[Image:cquote1.svg|20px]]&nbsp; || {{{text}}}&nbsp;[[Image:cquote2.svg|20px]]
|valign="top" | [[Image:cquote1.svg|20px]]&nbsp; || {{{text}}}&nbsp;[[Image:cquote2.svg|20px]]
|}
|}
<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{{source}}}, {{{author}}}</cite></p>
<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{#if:{{{source|}}}|{{{source}}}|}}{{#if:{{{source|}}}|{{#if:{{{author|}}}|,&nbsp;|}}|}}{{#if:{{{author|}}}|{{{author}}}|}}</cite></p></div>
<noinclude>
</div>
{{-}}


----
'''Parameters:'''
* text - the quote
* source (optional) - the publication in which the quote was made (no automatic referencing)
* author (optional) - the author of the quote (no automatic referencing)
* float (optional) - float value (one of left, right, none; default: right)
</noinclude>

Latest revision as of 20:52, 21 July 2009

Cquote1.svg  {{{text}}} Cquote2.svg




Parameters:

  • text - the quote
  • source (optional) - the publication in which the quote was made (no automatic referencing)
  • author (optional) - the author of the quote (no automatic referencing)
  • float (optional) - float value (one of left, right, none; default: right)