Template:Quotation: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
mNo edit summary
imported>John Stephenson
mNo edit summary
 
Line 1: Line 1:
<includeonly><blockquote style="float:none; padding:0.25em 1em;">{{{1}}}
<includeonly><blockquote style="float:none; padding:0.25em 1em;">{{{1}}}
{{#if:{{{2|}}}|<cite style="font-style:normal; text-align:right; display:block; pading:0.25em 0;"> &mdash; {{{2}}}{{#if:{{{3|}}}|, ''{{{3}}}''}}</cite>}}</blockquote></includeonly><noinclude>{{TlDoc}}</noinclude>
{{#if:{{{2|}}}|<cite style="font-style:normal; text-align:right; display:block; padding:0.25em 0;"> &mdash; {{{2}}}{{#if:{{{3|}}}|, ''{{{3}}}''}}</cite>}}</blockquote></includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 06:36, 18 September 2020

This documentation is transcluded from Template:Quotation/doc (edit | history)

Usage

The first parameter takes the quote itself, the second the author, and the third the work being quoted.

Example

This code

{{quotation|{{Lorem}}|Cicero|de Finibus Bonorum et Malorum}}

gives the following result

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. — Cicero, de Finibus Bonorum et Malorum