Template:Quotation: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
mNo edit summary
imported>Caesar Schinas
(clean up)
Line 1: Line 1:
<blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px; display:table;"> {{{1<noinclude>|&nbsp;&nbsp;{{Lorem}}</noinclude>}}}
<includeonly><blockquote style="float:none; padding: 10px 15px 10px 15px;">{{{1}}}
 
{{#if:{{{2|}}}|<p style="text-align: right;"><cite style="font-style:normal;"> &ndash; {{{2}}}{{#if:{{{3|}}}|, ''{{{3}}}''}}</cite></p>}}
{{#if:{{{2|<noinclude>x</noinclude>}}}|<p style="text-align: right;"><cite style="font-style:normal;"> &ndash; {{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}}|, ''{{{3}}}''}}</cite></p>}}
</blockquote></includeonly><noinclude>{{TlDoc}}</noinclude>
</blockquote><!--Markup inserted from Template:Quotation--><noinclude>{{TlDoc}}</noinclude>

Revision as of 07:30, 24 May 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