Template:Quotation: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Don't include bogus /doc page)
imported>John Stephenson
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
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:0.25em 1em;">{{{1}}}
 
{{#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>
{{#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><!--Markup inserted from Template:Quotation--><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