Template:Rquote/doc: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(template moved)
Line 7: Line 7:
** For long quotations, use the HTML <[[blockquote]]> element, such as through the use of the {{tl|Quote}} or {{tl|quote box}} template.
** For long quotations, use the HTML <[[blockquote]]> element, such as through the use of the {{tl|Quote}} or {{tl|quote box}} template.
* Pull quotes work best when used with short sentences, and at the start or end of a section, as a hint of the section's content.
* Pull quotes work best when used with short sentences, and at the start or end of a section, as a hint of the section's content.
*'''{{tl|Rquote}}''' (for '''Reduced pull-quote''') is a variant of the {{tl|Cquote}} [[:Category:Quotation templates|quotation template]], intended for relatively short [[pull quote]]s of 50 or 100 words. It results in a floating quote with the article text wrapping around it, like an image.
*'''{{tl|Rquote}}''' (for '''Reduced pull-quote''') is a variant of the {{tl|Centered pull quote}} [[:Category:Quotation templates|quotation template]], intended for relatively short [[pull quote]]s of 50 or 100 words. It results in a floating quote with the article text wrapping around it, like an image.
* Pull-quotes work best when used with short quotes, and at the start or end of a section, to help emphasize the content of the section. For longer pull quotes, especially those more than a paragraph, or longer than the rest of the paragraph they are quoted in, a similar effect (across the page) can be produced by [[:Template:Cquote|Cquote]].
* Pull-quotes work best when used with short quotes, and at the start or end of a section, to help emphasize the content of the section. For longer pull quotes, especially those more than a paragraph, or longer than the rest of the paragraph they are quoted in, a similar effect (across the page) can be produced by [[:Template:Cquote|Cquote]].



Revision as of 22:48, 5 April 2014

  • NOTE: This template should not be used for block quotations in article text. For long quotations in the text, the Manual of Style recommends using the HTML <blockquote> element or the {{quote}} template (which produces the blockquote tag).
  • NOTE: This template should not be used for quotations if they are not repeated elsewhere in the main text. The Manual of Style recommendation is:
    • For visually distinctive quotation, use {{Quotation}} template.
    • For long quotations, use the HTML <blockquote> element, such as through the use of the {{Quote}} or {{quote box}} template.
  • Pull quotes work best when used with short sentences, and at the start or end of a section, as a hint of the section's content.
  • {{Rquote}} (for Reduced pull-quote) is a variant of the {{Centered pull quote}} quotation template, intended for relatively short pull quotes of 50 or 100 words. It results in a floating quote with the article text wrapping around it, like an image.
  • Pull-quotes work best when used with short quotes, and at the start or end of a section, to help emphasize the content of the section. For longer pull quotes, especially those more than a paragraph, or longer than the rest of the paragraph they are quoted in, a similar effect (across the page) can be produced by Cquote.

Template:TOCright

Usage

Align quote box to the right:

{{Rquote|right|Quote text|Origin of quote|Cited source}}

Align quote box to the left:

{{Rquote|left|Quote text|Origin of quote|Cited source}}

Parameters

  1. Alignment (left, right).
  2. Quote text
  3. Source (who said it?)
  4. Citation (where was it said?)

Formatting

Quotation marks are supplied by the template and should not be included in the quote text. Soft hyphens (&shy;) can be used to influence line breaks within the quote text.

Example

Align Right →

Code

{{Rquote|right|
This is an example pullquote with the first option set to ''right''.|
[[Anonymity|Anonymous]]|''Rquote template page''}}{{Str left|{{Lorem ipsum}}|335}}

Result

Lorem ipsum dolor sit amet, consectetur adipiscing 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.

Align Left ←

Code

{{Rquote|left|
This is another, slightly longer example pullquote with the first option set to ''left''.|
[[Anonymity|Anonymous]]|''Rquote template page''}}{{Lorem Ipsum}}
{{Rquote|left|
This is another, slightly longer ex&shy;ample pull&shy;quote with the first option set to ''left'' and two soft hyphens included in the quote text.|
[[Anonymity|Anonymous]]|''Rquote template page''}}{{Lorem Ipsum}}

Result

Lorem ipsum dolor sit amet, consectetur adipiscing 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.

Lorem ipsum dolor sit amet, consectetur adipiscing 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.

See also

Template:Quotation templates see also