Difference between revisions of "Template:CQuote"

From Sugar Labs
Jump to navigation Jump to search
Line 4: Line 4:
 
|}
 
|}
 
<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>
 
<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>
+
<noinclude>[[Category:Highlighting template]]
 
{{-}}
 
{{-}}
  

Revision as of 21:04, 15 March 2011

Cquote1.svg  {{{1}}} Cquote2.svg



Usage

{{CQuote|The wisdom of the wise, and the experience of ages, may be preserved by quotation. |author=Benjamin Disraeli (1804 - 1881)}}

Cquote1.svg  The wisdom of the wise, and the experience of ages, may be preserved by quotation. Cquote2.svg

—Benjamin Disraeli (1804 - 1881)


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)