Template:Quote/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
Line 26: Line 26:
gives the following result :
gives the following result :
{{quote|{{Lorem}}|||Cicero|de Finibus Bonorum et Malorum|size=40px}}
{{quote|{{Lorem}}|||Cicero|de Finibus Bonorum et Malorum|size=40px}}
<pre>
{{quote|{{Lorem}}}}
</pre>
gives the following result:
{{quote|{{Lorem}}}}

Revision as of 03:49, 3 March 2010

Note: This template is for use only when single enclosed quotation marks are required for correct punctuation. Found commonly in BE, AustE, and NZE language articles, and used in Oxford University and Cambridge University publications. Rare in AmerE.

Usage

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

Example

This code

{{quote|{{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.


This code

{{quote|{{Lorem}}|60px||Cicero|de Finibus Bonorum et Malorum}}

gives the following result (default font size for the quote mark is 20px; other options are 10, 30, 40, 50 or 60px):

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.

—60px

This code

{{quote|{{Lorem}}|||Cicero|de Finibus Bonorum et Malorum|size=40px}}

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.
{{quote|{{Lorem}}}}

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.