Template:Quote: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (float) |
||
(One intermediate revision 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]] || {{{text}}} [[Image:cquote2.svg|20px]] |
|valign="top" | [[Image:cquote1.svg|20px]] || {{{text}}} [[Image:cquote2.svg|20px]] |
||
|} |
|} |
||
<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{#if:{{{source|}}}|{{{source}}}|}}{{#if:{{{source|}}}{{{author|}}}|, |
<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> |
||
{{-}} |
{{-}} |
||
Line 11: | 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> |