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. |
{{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).
Usage
editAlign 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- Alignment (left, right).
- The Quote Text
- Source (who said it?)
- Citation (where was it said?)
Example
editAlign Right →
editCode
edit{{rquote|right| This is an example pullquote with the first option set to ''right''.| [[w:Anonymity|Anonymous]]|''Rquote template page''}}{{Lorem Ipsum}}
Result
edit“ |
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 ←
editCode
edit{{rquote|left| This is an example pullquote with the first option set to ''left''.| [[w:Anonymity|Anonymous]]|''Rquote template page''}}{{Lorem Ipsum}}
Result
edit“ |
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- Template:Epigraph – quote without border, page-wide, normal-sized attribution
- 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 graphic quotation marks, page-wide
- Template:Rquote – pull-quote between graphic quotation marks, in a reduced floating area
- Category:Quotation templates – more templates