Template:Quotation: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
mNo edit summary
imported>Caesar Schinas
No edit summary
Line 1: Line 1:
<includeonly><blockquote style="float:none; padding: 10px 15px 10px 15px;">{{{1}}}
<includeonly><blockquote style="float:none; padding: 10px 15px 10px 15px;">{{{1}}}<br />
{{#if:{{{2|}}}|<p style="text-align: right;"><cite style="font-style:normal;"> &ndash; {{{2}}}{{#if:{{{3|}}}|, ''{{{3}}}''}}</cite></p>}}</blockquote></includeonly><noinclude>{{TlDoc}}</noinclude>
{{#if:{{{2|}}}|<cite style="font-style:normal; text-align:right;"> &mdash; {{{2}}}{{#if:{{{3|}}}|, ''{{{3}}}''}}</cite>}}</blockquote></includeonly><noinclude>{{TlDoc}}</noinclude>

Revision as of 01:09, 12 June 2009

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