Difference between revisions of "Template:CQuote"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "<div style="float:{{{float|right}}};width:400px;margin:2em;"> {| |valign="top" | 20px  || {{{text}}} 20px |} <p style="font-...")
 
m (update category sort)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="float:{{{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" | [[File:cquote1.svg|20px]]&nbsp; || {{{1}}}&nbsp;[[File:cquote2.svg|20px]]
 
|}
 
|}
 
<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|Quote]]
 
{{-}}
 
{{-}}
  
  
 
----
 
----
 +
'''Usage'''
 +
 +
<nowiki>{{CQuote|The wisdom of the wise, and the experience of ages, may be preserved by quotation.
 +
|author=Benjamin Disraeli (1804 - 1881)}}</nowiki>
 +
 +
{{CQuote|The wisdom of the wise, and the experience of ages, may be preserved by quotation.|author=Benjamin Disraeli (1804 - 1881)}}
 +
 
'''Parameters:'''
 
'''Parameters:'''
 
* text - the quote
 
* text - the quote
Line 14: Line 21:
 
* author (optional) - 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)
 
* float (optional) - float value (one of left, right, none; default: right)
 +
 +
Source: http://en.wikiversity.org/wiki/File:Cquote1.svg
 
</noinclude>
 
</noinclude>

Latest revision as of 16:12, 16 July 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)

Source: http://en.wikiversity.org/wiki/File:Cquote1.svg