Template:Rquote/doc
This is a documentation subpage for Template:Rquote. It may contain usage information, categories and other content that is not part of the original template page. |
- 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).
- {{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 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 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.
Usage
[edit source]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
[edit source]- Alignment (left, right).
- Quote text
- Source (who said it?)
- Citation (where was it said?)
Formatting
[edit source]Quotation marks are supplied by the template and should not be included in the quote text. Soft hyphens (­
) can be used to influence line breaks within the quote text.
Example
[edit source]Align Right →
[edit source]Code
[edit source]{{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
[edit source]“ |
This is an example pullquote with the first option set to right. |
” |
— Anonymous, Rquote template page |
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 par
Align Left ←
[edit source]Code
[edit source]{{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­ample pull­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
[edit source]“ |
This is another, slightly longer example pullquote with the first option set to left. |
” |
— Anonymous, Rquote template page |
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.
“ |
This is another, slightly longer example pullquote with the first option set to left and two soft hyphens included in the quote text. |
” |
— Anonymous, Rquote template page |
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
[edit source]- Template:Bq – quote without border, page-wide; like (and compatible with parameters of) the older {{Quote}} but with more features; conversion from all others listed here is trivially easy (retaining key data, losing decoration, etc.)
- Template:Quote – quote without border, page-wide, smaller-sized attribution
- Template:Quotation – quote with border, page-wide
- Template:Quote box – quote with border, in a reduced floating box
- Template:Cquote – pull-quote between large quotation marks, page-wide; should rarely be used in articles and is not for block quotations, only pull quotes
- Template:Rquote – pull-quote between large quotation marks, in a reduced floating area; also rarely appropriate in articles
- Template:Talkquote – for quoting other editors (or guidelines, etc.) on talk pages (in a block)
- Template:Tq - for quoting on talk pages, inline
- Category:Quotation templates