Template:Cquote/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(recommend using <blockquote> markup)
imported>Chris Day
No edit summary
Line 3: Line 3:
See {{tl|quote}} for single quote marks.
See {{tl|quote}} for single quote marks.


In most cases it is preferable to use the blockquote markup for quotations.
===Blockquote or {{tl|Quotation}} is preferable===
For example:
In most cases it is preferable to use the <nowiki><blockquote></nowiki> markup for quotations or the {{tl|Quotation}} template that uses the <nowiki><blockquote></nowiki> markup.
 
For example,
<pre>
<pre>
<blockquote>{{Lorem}}</blockquote>
<blockquote>{{Lorem}}</blockquote>
Line 11: Line 13:
<blockquote>{{Lorem}}</blockquote>
<blockquote>{{Lorem}}</blockquote>


=== Basic example ===
Or, using the {{tl|Quotation}} template,
<pre>
{{quotation|{{Lorem}}|Cicero|de Finibus Bonorum et Malorum}}
</pre>
gives the following result:
{{quotation|{{Lorem}}|Cicero|de Finibus Bonorum et Malorum}}
 
=== Basic example using Cquote===
<pre>
<pre>
{{cquote|The ink of the learned is equal in merit to the blood of the martyrs.}}
{{cquote|The ink of the learned is equal in merit to the blood of the martyrs.}}
Line 18: Line 27:
{{cquote|The ink of the learned is equal in merit to the blood of the martyrs.}}
{{cquote|The ink of the learned is equal in merit to the blood of the martyrs.}}


=== Define the author and source ===
=== Define the author and source using Cquote===
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 author and source of the quote respectively.
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 author and source of the quote respectively.



Revision as of 02:12, 4 March 2010

Usage

The first parameter takes the quote itself, the second the author, and the third the work being quoted. See {{quote}} for single 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 using Cquote

{{cquote|The ink of the learned is equal in merit to the blood of the martyrs.}}

gives the following result:

The ink of the learned is equal in merit to the blood of the martyrs.

Define the author and source using Cquote

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 author and source of the quote respectively.

{{cquote|The ink of the learned is equal in merit to the blood of the martyrs.|Louis de Bernières|Birds Without Wings}}

gives the following result:

The ink of the learned is equal in merit to the blood of the martyrs.

—Louis de Bernières, Birds Without Wings