Template:Quote frame
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page. |
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.
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page. |
Usage
|title=
for the italicized title of a major work, not for a heading above the quotation as some other templates do.This template provides a page-width-spanning quotation in a bordered box, on a light grey background. Template:Strong
The equal sign (=)
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:
Template:In5{{Quote frame |quote=Einstein's equation, E=mcTemplate:Sup, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it. |author=Abdul Kalam}}
Template:In5{{Quote frame |1=Einstein's equation, E=mcTemplate:Sup, 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:
Template:In5{{Quote frame|Einstein's equation, E{{=}}mcTemplate:Sup, 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:
Template:In5{{Quote frame|Einstein's equation, E=mcTemplate:Sup, has to reach everywhere. Science is a beautiful gift to humanity, we should not distort it.|Abdul Kalam}}
TemplateData
See the monthly error report for this template.
TemplateData for Quote frame
<templatedata> {
"description": "insert description here", "params": { "1": { "label": "Quoted material", "description": "", "type": "string", "required": true }, "2": { "label": "Author", "description": "", "type": "string", "required": false }, "3": { "label": "Title", "description": "", "type": "string", "required": false }, "4": { "label": "Publication", "description": "Use [1]
The above documentation is transcluded from Template:Quote frame/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
- ↑ and . etc.",
"type": "string",
"required": false
},
"align": {
"label": "Alignment",
"description": "Alignment of the quote box on the page—left / right / center / none. Defaults to none alignment.",
"type": "string",
"required": false
}
}
}
</templatedata>
Bugs
- As of 28 November 2015[update] 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:
Template:Archive top Some text here.
- quoted text
More text here. Template:Archive bottom
Redirects
- Template:Quotation (redirect page) (← links)
See also
- As of 28 November 2015[update] 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: