Template:Quote: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
m (float)
 
(2 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}}}{{#if:{{{author|}}}|, {{{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>
</div>
<noinclude>
<noinclude>
{{-}}
{{-}}
Line 12: Line 11:
'''Parameters:'''
'''Parameters:'''
* text - the quote
* text - the quote
* source - the publication in which the quote was made (no automatic referencing)
* source (optional) - the publication in which the quote was made (no automatic referencing)
* author - the author of the quote (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>
</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)