Template:Quote: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Meg Taylor
(clarify)
imported>John Stephenson
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>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.
<includeonly>{| align="center" style="border-collapse:collapse; border-style:none; background-color:transparent;"
 
| width="20" valign="top" style="color:#B2B7F2; font-size:30px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:8px 8px; border:none;" | ‘
===Usage===</noinclude>
{| align="center" style="border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote"
| width="20" valign="top" style="color:#B2B7F2; font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#default=30px}}; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:8px 8px; border:none;" | ‘
| valign="top" style="padding:2px 6px; border:none;" | {{{1|Insert the text of the quote here, without quotation marks.}}}
| valign="top" style="padding:2px 6px; border:none;" | {{{1|Insert the text of the quote here, without quotation marks.}}}
| width="20" valign="bottom" style="color:#B2B7F2; font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|15px}}}}}}}}}}}}
| width="20" valign="bottom" style="color:#B2B7F2; font-size:30px; font-family:'Times New Roman',serif; font-weight:bold; text-align:right; padding:8px 8px; border:none;" | ’
|10px=20px
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#default=30px}}; font-family:'Times New Roman',serif; font-weight:bold; text-align:right; padding:8px 8px; border:none;" | ’
|-
|-
{{#if:{{{4|}}}{{{5|}}}|
{{#if:{{{2|}}}{{{3|}}}|
{{!}} colspan="3" style="padding-top: 10px" {{!}} {{#if:{{{4|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{{4}}}{{#if:{{{5|<noinclude>Source</noinclude>}}}|, {{{5}}}}}</cite></p>}}
{{!}} colspan="3" {{!}} {{#if:{{{2|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align:right"><cite style="font-style:normal;">—{{{2}}}{{#if:{{{3|<noinclude>Source</noinclude>}}}|, ''{{{3}}}''}}</cite></p>}}
}}
}}
|}
|}</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 06:29, 18 September 2020

This documentation is transcluded from Template:Quote/doc (edit | history)

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. See {{cquote}} for double quote marks.

Blockquote or {{Quotation}} is preferable

In most cases it is preferable to use the <blockquote> markup for quotations or the {{Quotation}} template that uses the <blockquote> markup.

For example,

<blockquote>{{Lorem}}</blockquote>

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.

Or, using the {{Quotation}} template,

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

Basic example

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

Define the origin and source

There are three automatic parameter that can be used with this template. The first parameter is the quotation, as seen in the example above. The 2nd and 3rd parameters define the origin and source of the quote respectively. In this example the origin is "Cicero" and the source is "de Finibus Bonorum et Malorum"

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

—Cicero, de Finibus Bonorum et Malorum