The template appears as follows in article space:
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.
and as follows in all other namespaces:
“ | 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 the template sandbox page for Template:Rquote (diff). See also the companion subpage for test cases. |
This template uses TemplateStyles: |
If this template is used in article space, it will suppress the display of decorative curly quote marks, per MOS:BLOCKQUOTE. |
The Manual of Style guidelines for block quotations recommend formatting block quotations using the {{Blockquote}} template or the HTML <blockquote> element, for which that template provides a wrapper.
Reduced quote – For quotes, this template, a variant of the {{Cquote}}
, results in a floating quote with the article text wrapping around it, like an image. It is intended for relatively short quotes of 50 or 100 words.
Align quote box to the right:
{{Rquote |1=right |2=text of quotation |3=person quoted |4=cited source}}
Align quote box to the left:
{{Rquote |1=left |2=text of quotation |3=person quoted |4=cited source}}
Named parameters may also be used:
{{Rquote |align=right |quote=text of quotation |author=person quoted |source=cited source}}
It is always safest to explicitly number or name the parameters (especially the quoted text, author, and source), since the presence of any =
character in it will break the template if the parameter is not named/numbered.
If you do not want to use numbered/named parameters, you must use compact form, without whitespace between parameters; MediaWiki parses the entire contents of unnamed parameters extremely literally, including whitespace.
Align quote box to the right (compact version):
{{Rquote|right|text of quotation|person quoted|cited source}}
Align quote box to the left (compact version):
{{Rquote|left|text of quotation|person quoted|cited source}}
If any parameter is explicitly numbered, they must all be numbered.
|2=
. Quotation marks are supplied by the template and should not be included here. Soft hyphens (­
) or <wbr />
can be used to influence line breaks within the quote text.A standard <ref>...</ref>
citation is normally attached to the second, third or fourth parameter, whichever comes last.
If any parameter is explicitly numbered, they must all be numbered. If none are numbered, do not use any whitespace between them.
These parameters are all optional.
|width=
|style=
{{Cquote}}
with its |float=
option.{{Rquote |1=right |2=This is an example quote with the first option set to ''right''. |3=[[Anonymity|Anonymous]] |4=''Reduced quote template page'' }} {{str left|{{Lorem ipsum}}|335}}
“ | This is an example quote with the first option set to right. | ” |
— Anonymous, Reduced quote 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.
{{Rquote |1=left |2=This is another, slightly longer example quote with the first option set to ''left''. |3=[[Anonymity|Anonymous]] |4=''Reduced quote template page'' }} {{Lorem ipsum}}
{{Rquote |1=left |2=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. |3=[[Anonymity|Anonymous]] |4=''Reduced quote template page'' }} {{Lorem ipsum}}
“ | This is another, slightly longer example quote with the first option set to left. | ” |
— Anonymous, Reduced quote 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 ex­ample pull­quote with the first option set to left and two soft hyphens included in the quote text. | ” |
— Anonymous, Reduced quote 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.