Jump to content

Template:Rquote/doc

From Wikibooks, open books for an open world

{{rquote}} (for Reduced pull-quote) is a variant of the {{cquote}} quotation template, intended for relatively short pull quotes of 50 or 100 words. It results in a floating quote with the page text wrapping around it, like an image.

For longer pull quotes, especially those which are more than a paragraph, or are longer than the rest of the paragraph they are quoted in, a similar effect (across the page) can be produced by Cquote. For long quotations in the text, use the HTML <blockquote> element or the {{quote}} template (which produces the blockquote tag).

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

You should not put quotation marks around the quote. This template serves as a block quote to separate it from the text instead.

Parameters

[edit source]
  1. Alignment (left, right).
  2. The Quote Text
  3. Source (who said it?)
  4. Citation (where was it said?)

Example

[edit source]

Align Right →

[edit source]
{{rquote|right|
This is an example pullquote with the first option set to ''right''.|
[[w:Anonymity|Anonymous]]|''Rquote template page''}}{{Lorem Ipsum}}

Result

[edit source]

This is an example pullquote with the first option set to right.

Anonymous, Rquote template page

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.

Align Left ←

[edit source]
{{rquote|left|
This is an example pullquote with the first option set to ''left''.|
[[w:Anonymity|Anonymous]]|''Rquote template page''}}{{Lorem Ipsum}}

Result

[edit source]

This is an example pullquote with the first option set to left.

Anonymous, Rquote template page

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.

See also

[edit source]