Misplaced Pages

Template:Cquote/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:Cquote Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 21:43, 6 February 2015 editPigsonthewing (talk | contribs)Autopatrolled, Event coordinators, Extended confirmed users, Page movers, File movers, IP block exemptions, New page reviewers, Pending changes reviewers, Rollbackers, Template editors266,093 edits Parameters: +← Previous edit Revision as of 13:55, 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 3: Line 3:


==Usage== ==Usage==
'''{{tl|Pull quote}}''' is a template meant for ]s, the visually distinctive ''repetition'' of text that is ''already present'' in the same article. In most cases, this is not appropriate for use in encyclopedia articles. *'''{{tl|Pull quote}}''' is a template meant presenting quotes. It is an alternative to similar templates such as {{tl|Quote}}.
* For very short quotes, consider using {{tl|Reduced pull quote}} which sets the quote off to either the right or left as in a magazine ].

* {{strong|NOTE: This template should {{em|only}} be used for short pull quotes, which repeat quoted text already appearing in the article, and {{em|never}} for block quotations.}}.
* The ] recommend formatting block quotations using the HTML &lt;]&gt; element (which can be done with the {{tl|bq}} template), or the {{tl|quote}} or {{tl|quote box}} quotation templates.
* Pull quotes work best when used with short sentences, and at the start or end of a section, as a hint of the following section's content.
* For very short pull quotes, consider using {{tl|Reduced pull quote}} which sets the quote off to either the right or left as in a magazine ]. This can be effective on ] pages and ] homepages.


===Syntax=== ===Syntax===

Revision as of 13:55, 19 February 2015

This is a documentation subpage for Template:Cquote.
It may contain usage information, categories and other content that is not part of the original template page.

Usage

  • {{Pull quote}} is a template meant presenting quotes. It is an alternative to similar templates such as {{Quote}}.
  • For very short quotes, consider using {{Reduced pull quote}} which sets the quote off to either the right or left as in a magazine sidebar.

Syntax

  1. {{pull quote|quote text}}
  2. {{pull quote|quote text|author=author or speaker}}
  3. {{pull quote|quote text|author=author or speaker|source=title of article, speech, book, etc.}}

Parameters

Parameter 1
text of the quote; use <br /> between paragraphs.
Required
Note: if the quote text contains one or more "=" (equal signs), then the template must be called as {{pull quote|1=quote text}} (see "Equals sign in parameter value")
author
Name of the person that wrote or spoke the text being quoted. Can include wiki syntax.
source
Source of the quote (publication title, speech, etc.). Can include wiki syntax.
bgcolor
The color of the background.
float
Defaults to center, but can also be right or left
wide
When set to "yes", the quote expands to the entire width of the page. Useful for small quotes, but may clash with other floating objects, such as infoboxes.
qcolor
color of quotemarks (only for use in The Signpost)

Simple example

{{pull quote|quote text}}
To be, or not to be.

Sourced example

{{pull quote|Life is like riding a bicycle. To keep your balance you must keep moving.
|author=]
|source=in a letter to his son<ref>], ''Einstein: His Life and Universe'' (2007), p. 367.</ref>
}}


Life is like riding a bicycle. To keep your balance you must keep moving.
— Albert Einstein, in a letter to his son
  1. Walter Isaacson, Einstein: His Life and Universe (2007), p. 367.

Other examples

{{pull quote|1=F=ma|author=]}}

(the 1= is necessary as quote text contains an equal sign)

F=ma
— Isaac Newton
{{pull quote|1=Thus:
:<math>E=mc^2</math>|author=]}}

(quote text contains an equal sign and math syntax)

Thus:
E = m c 2 {\displaystyle E=mc^{2}}
— Albert Einstein


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