Template:CQuote: Difference between revisions
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" | [[ | |valign="top" | [[File:cquote1.svg|20px]] || {{{1}}} [[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|}}}|, |}}|}}{{#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|}}}|, |}}|}}{{#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> | ||