Template:Quote frame
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 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.
- For typical pull quotes, especially those longer than the rest of the paragraph in which they are quoted,
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}} |
|
{{Quote frame|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}} |
|
{{Quote frame|Quoted material}} |
|
{{Quote frame|Quoted material|align=center}} |
|
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=
character entity:
{{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}}
TemplateData
TemplateData for Quote frame
insert description here
Template parameters
This template prefers inline formatting of parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quoted material | 1 |
|
string |
required |
Author | 2 |
|
string |
optional |
Title | 3 |
|
string |
optional |
Publication | 4 |
Use <ref> and {{Cite book}} etc.
|
string |
optional |
Alignment | align |
Alignment of the quote box on the page—left / right / center / none. Defaults to none alignment.
|
string |
optional |
See also
|
The above documentation is transcluded from Template:Quote frame/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |