Misplaced Pages

Template:Rquote/doc: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Rquote Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 00:26, 7 December 2014 editSardanaphalus (talk | contribs)119,752 edits some formatting, template update← Previous edit Revision as of 13:59, 19 February 2015 edit undoHerostratus (talk | contribs)Autopatrolled, Extended confirmed users, File movers, New page reviewers, Pending changes reviewers, Rollbackers53,198 edits see Misplaced Pages talk:Manual of Style#Concerning block quotesNext edit →
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE. --> <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE. -->


==Usage==
* {{strongbad|This template should not be used for block quotations in article text.}} For long quotations in the text, the ] recommends using the HTML &lt;]> element or the {{tl|quote}} template (which produces the blockquote tag).
*'''{{tl|Reduced pull quote}}''' is a template for presenting quotes. It is an alternative to similar templates such as {{tl|Quote}}. It encloses the quote between two large quotation mark images. Best for very short quotes, it sets the quote off to either the right or left as in a magazine ].
* {{strongbad|This template should not be used for quotations if}} they are not repeated elsewhere in the main text. The ] recommendation is:
* For longer quotes, consider using {{tl|Pull quote}} which covers the width of the page.
** For visually distinctive quotation, use {{tl|Quotation}} template.
** For long quotations, use the HTML &lt;]&gt; element, such as through the use of the {{tl|Quote}} or {{tl|quote box}} template.

'''{{tl|Reduced pull quote}} is a variant of the {{tl|Centered pull quote}} ], intended for relatively short ]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 sentences, and at the start or end of a section, as a hint of the section's content;
* 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 ].


{{TOCright}} {{TOCright}}

Revision as of 13:59, 19 February 2015

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.

Usage

  • {{Reduced pull quote}} is a template for presenting quotes. It is an alternative to similar templates such as {{Quote}}. It encloses the quote between two large quotation mark images. Best for very short quotes, it sets the quote off to either the right or left as in a magazine sidebar.
  • For longer quotes, consider using {{Pull quote}} which covers the width of the page.

Usage

Align quote box to the right:

{{Reduced pull quote|right|Quote text|Origin of quote|Cited source}}

Align quote box to the left:

{{Reduced pull quote|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

{{Reduced pull quote |right
| This is an example pull-quote with the first option set to ''right''.
|] |''Reduced pull quote template page''
}}
{{str left|{{Lorem ipsum}}|335}}

Result

This is an example pull-quote with the first option set to right.
— Anonymous , Reduced pull 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.

Align left ←

Code

{{Reduced pull quote |left
| This is another, slightly longer example pull-quote with the first option set to ''left''.
|] |''Reduced pull quote template page''
}}
{{Lorem ipsum}}

{{Reduced pull quote |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. |] |''Reduced pull quote template page'' }} {{Lorem ipsum}}

Result

This is another, slightly longer example pull quote with the first option set to left.
— Anonymous , Reduced pull 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 pull 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.


Quotation templates
Template  Use / description 
Block quotations General purpose
{{Blockquote}} Our standard block quotation template: unbordered page-wide quotation with optional smaller-sized attribution
{{Break lines}} Transforms line breaks into <br /> tags. It is very similar to the {{poem}} template, except that it does not invoke the <poem> MediaWiki extension.
{{Numbered verses}} Quote poems showing the verse numbers
{{Poem}} {{Blockquote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of <poem> tags or frequent formatting elements (such as <br />); requires substitution
{{Poem quote}} {{Blockquote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of <poem> tags or frequent formatting elements (such as <br />); does not require substitution
{{Poetically break lines}} (shortcut: {{pbl}}) Designed to format poetry simply and reliably; it differs from {{Poem quote}} in two significant ways: it does not add spacing around the poem that sets it apart as “block quote”, and it automatically provides hanging indentation when lines are so long that they wrap
{{Translated blockquote}} Displays original language above and translated text below
{{Text and translation}} Displays original language and translated text, one beside the other
{{Verse translation}} Displays original language verse (defaults to italics) and translated verse (roman) side-by-side
{{Verse transliteration-translation}} Like {{Verse translation}}, but with a transliteration separate from the original version
{{Quote inline}}(shortcut: {{qi}}) Inline quotation
{{Cquote}} "centered quote" – Page-wide quote, between large quotation marks
{{Rquote}} "reduced quote" – Quote between large quotation marks in a reduced floating area
{{Quote frame}} Page-wide bordered quote
{{Quote box}} Quote floated in a reduced bordered box
{{Tweet}} For quoting directly from tweets. Automatically generates {{Cite tweet}} citation, or a custom reference can be provided.
  
Talk page quoting Not for use in articles nor the project space at all
{{Talk quote inline}}(shortcut: {{tq}},{{tqq}}, {{tqi}}, or {{tqqi}}) Inline quotation for use on talk pages
{{Not talk quote inline}}(shortcut: {{!tq}},{{!tqq}}, {{!tqi}}, or {{!tqqi}}) Inline quotation for what someone didn't say but could have, or perhaps should have, said.
{{Talk quote block}}(shortcut: {{tqb}}, {{tq2}}) Block-style quotation for use on talk pages
{{Talk quote block minimalist}}(shortcut: {{tqbm}}) Minimalist version of above
  
Alternative For indenting non-quotations
{{Block indent}} To indent an entire block of content (uses <div> and CSS margins)
{{Divbox}} To frame messages or the example output of an article or template