Template:Quotation: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Jeff Cook
(cut and paste from Wikipedia. : ))
 
imported>J. Noel Chiappa
(Don't include bogus /doc page)
Line 3: Line 3:
{{#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>}}
{{#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>
</blockquote><!--Markup inserted from Template:Quotation--><noinclude>
{{/doc}}
{{TlDoc}}
</noinclude>
</noinclude>

Revision as of 14:36, 2 June 2008

  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.

– {{{2}}}, {{{3}}}

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