Difference between revisions of "Template:CQuote"

From Sugar Labs
Jump to navigation Jump to search
m (update category sort)
 
(3 intermediate revisions by the same user not shown)
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|Quote]]
 
{{-}}
 
{{-}}
  
Line 10: Line 10:
 
----
 
----
 
'''Usage'''
 
'''Usage'''
<nowiki>{{CQuote|The wisdom of the wise, and the experience of ages, may be preserved by quotation.
+
 
 +
<nowiki>{{CQuote|The wisdom of the wise, and the experience of ages, may be preserved by quotation.
 
|author=Benjamin Disraeli (1804 - 1881)}}</nowiki>
 
|author=Benjamin Disraeli (1804 - 1881)}}</nowiki>
  
{{CQuote|The wisdom of the wise, and the experience of ages, may be preserved by quotation.
+
{{CQuote|The wisdom of the wise, and the experience of ages, may be preserved by quotation.|author=Benjamin Disraeli (1804 - 1881)}}
|author=Benjamin Disraeli (1804 - 1881)}}
 
  
 
'''Parameters:'''
 
'''Parameters:'''
Line 21: 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 15: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