Permanently protected template

Template:Quote frame

From Wikipedia, the free encyclopedia
  (Redirected from Template:Quotation)
Jump to: navigation, search
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.
Documentation icon Template documentation[view] [edit] [history] [purge]


This template in intended for pull quotes, the visually distinctive repetition of text that is already present on the same page. It can also be used to highlight an especially important block quotation, but the Manual of Style guidelines for block quotations recommend formatting block quotations using the {{Quote}} template or the HTML <blockquote> element, for which that template provides a wrapper. This {{Quote frame}} template should not normally be used in a Wikipedia article, and styles should usually not be mixed-and-matched in articles.

  • For a block quotation please, use {{Quote}} instead, unless there is a reason to especially highlight this quotation.
  • For use as a pull quote: Pull quotes work best when used with short sentences, and at the start or end of a section, as a hint of or to help emphasize the section's content.
    • For typical pull quotes, especially those longer than the rest of the paragraph in which they are quoted, {{Pull quote}} provides a borderless quote with decorative quotation marks, and {{Quote frame}} provided a bordered quote. Both span the article width.
    • For very short pull quotes, {{Reduced pull quote}} (with decorative quotation marks) or {{Quote box}} (framed) can be used to set the quote off to either the right or left as in a magazine sidebar. This can be effective on essay pages and WikiProject homepages.

Usage

This template provides a page-width-spanning quotation in a bordered box, on a light grey background. Do not put quotation marks around the quoted material.

Markup Renders as
{{Quote frame|Quoted material|Author|Title|other details}} 
Quoted material
— Author, Title, other details

{{Quote frame|Quoted material|Author||"Article Title", ''Newspaper Name''}} 
Quoted material
— Author, "Article Title", Newspaper Name
Here, the 3rd parameter (which auto-italicizes) has been skipped, and we use the 4th to manually apply italics where needed.

{{Quote frame|Quoted material|Author|Title}} 
Quoted material
— Author, Title

{{Quote frame|Quoted material}} 
Quoted material

{{Quote frame|Quoted material|align=center}} 
Quoted material

The equal sign (=)

If any of the parameters include an equal sign (=) in its input, this will make the template not recognize the parameter properly unless:

  • The parameters are numbered:

     {{Quote frame|1=Einstein's equation, E=mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|2=Abdul Kalam}}

  • The = in the content is escaped with the {{=}} template:

     {{Quote frame|Einstein's equation, E{{=}}mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|Abdul Kalam}}

  • The = in the content is escaped with the &#61; character entity:

     {{Quote frame|Einstein's equation, E&#61;mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|Abdul Kalam}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Quote frame

insert description here

Template parameters

This template prefers inline formatting of parameters.

Parameter Description Type Status
Quoted material 1
Default
empty
Example
empty
Auto value
empty
string required
Author 2
Default
empty
Example
empty
Auto value
empty
string optional
Title 3
Default
empty
Example
empty
Auto value
empty
string optional
Publication 4

Use <ref> and {{Cite book}} etc.

Default
empty
Example
empty
Auto value
empty
string optional
Alignment align

Alignment of the quote box on the page—left / right / center / none. Defaults to none alignment.

Default
empty
Example
empty
Auto value
empty
string optional

See also