Template:Quote frame

From Vixrapedia
Jump to navigation Jump to 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.
Template documentation[view] [edit] [history] [purge]


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.

  • 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 quotes, especially those longer than the rest of the paragraph in which they are quoted, {{Cquote}} provides a borderless quote with decorative quotation marks, and {{Quote frame}} provided a bordered quote. Both span the article width.
  • For very short quotes, {{Rquote}} (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[edit]

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 |quote=Quoted material |author=Author |title=Title |source=other details}}

{{Quote frame|Quoted material|Author|Title|other details}}
Quoted material — Author, Title, other details
{{Quote frame |quote=Quoted material |author=Author |source="Article Title", ''Newspaper Name'', date}}

{{Quote frame|Quoted material|Author||"Article Title", ''Newspaper Name'', date}}
Quoted material — Author, "Article Title", Newspaper Name, date
In the short syntax, the 3rd parameter (which auto-italicizes) has been included but left empty to skip it, and we use the 4th to manually apply italics where needed.
{{Quote frame |quote=Quoted material |author=Author |title=Title}}

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

{{Quote frame|Quoted material}}
Quoted material
{{Quote frame |quote=Quoted material |source="Article Title", ''Newspaper Name'', date}}

{{Quote frame|Quoted material|||"Article Title", ''Newspaper Name'', date}}
Quoted material — "Article Title", Newspaper Name, date
In the short syntax, we skip two parameters by giving them empty.
{{Quote frame|Quoted material |align=center}}
Quoted material
{{Quote frame|Quoted material |align=right}}
Quoted material

The equal sign (=)[edit]

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

  • The parameters are named or numbered:

     {{Quote frame|quote=Einstein's equation, E=mc2, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it. |author=Abdul Kalam}}
     {{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 reference:

     {{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[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Quote frame

insert description here

Template parameters

ParameterDescriptionTypeStatus
Quoted material1

Stringrequired
Author2

Stringoptional
Title3

Stringoptional
Publication4

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

Stringoptional
Alignmentalign

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

Stringoptional

Bugs[edit]

  • As of 28 November 2015 using {{quote frame}} in a discussion that will later be archived with {{archive top}} and {{archive bottom}} will cause problems if the line in which the template is used in is intended with colons. In other words, avoid doing this if you expect the discussion to be archived using the "archive top" and "archive bottom" templates:
    :{{quote frame|quoted material}}

Example of bug:

{{archive top}}
Some text here.
:{{quote frame|quoted text}}
More text here.
{{archive bottom}}

results in:

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Some text here.

quoted text

More text here.


The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Redirects[edit]


See also[edit]