Template:Quote/doc

From WhyNotWiki

Jump to: navigation, search
This is the template documentation page for {{Quote/doc}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

{{Quote}} is a template meant for pull-quotes, which stand apart from the text of a page. It generally should not be used in articles unless there is a good justification for doing so. 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 shorter pull-quotes of 50 words or less in a similar style, consider using {{Rquote}}.

NOTE: This template should not be used for block quotes in article text. For long quotations in the text, the Manual of Style recommends using the HTML <blockquote> element, such as through the use of the {{Quote}} template.

Contents

[edit] Usage

  1. {{Quote|quote text}}
  2. {{Quote|quote text|Origin of quote|Cited source}}

Only the first parameter is required.

[edit] 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 {{Quote|1=quote text}} (see "Equals sign in parameter value")

The next two parameters can be used to scale the graphical quotation marks up and down to suit larger or smaller quotes.

  • Parameter 2: "quotewidth" - desired width of the quote image; defaults to 20px. (anything larger than 48px is not recommended.)
  • Parameter 3: "quoteheight" - desired height of the quote image; defaults to 20px.

The last two parameters can be used to provide attribution for the quote:

  • Parameter 2: Name of the person that wrote or spoke the text being quoted. Can include links.
  • Parameter 3: Source of the quote (publication title, speech, etc.). Can include links.

[edit] Examples

{{Quote|quote text}}

As Amy Tan once said

External success has to do with people who may see me as a model, or an example, or a representative. As much as I may dislike or want to reject that responsibility, this is something that comes with public success. It's important to give others a sense of hope that it is possible and you can come from really different places in the world and find your own place in the world that's unique for yourself.
{{Quote|1=quote text}} (quote text contains an equal sign)
The essential point, established by Lorentz, is that the equations of the electromagnetic field are not altered by a certain transformation (which I will call by the name of Lorentz) of the formTemplate:Rf:
x^\prime = k\ell\left(x + \varepsilon t\right),t^\prime = k\ell\left(t + \varepsilon x\right),y^\prime = \ell y, z^\prime = \ell z,k = 1/\sqrt{1-\varepsilon^2}.
{{Quote|quote text|Origin of quote|Cited source}}

For example,

{{Quote|What people know depends on who owns the press|Bill Moyers|[[Journalism]]}}

is rendered as

What people know depends on who owns the press

—Bill Moyers, Journalism


[edit] See also

  • {{cquotetxt}} - text-based version of this template

[edit] Related templates


Personal tools