Template:Quote frame

From WikiAlpha
Jump to: navigation, search
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.
[edit] [purge] Template documentation
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.


Template:Cquote/boilerplate

Usage

This template provides a page-width-spanning quotation in a bordered box, on a light grey background. Template:Strong

Template:Markup

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

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

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]
  1. 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 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

See also

Template:Quotation templates

Retrieved from "http://en.wikialpha.org/mediawiki/index.php?title=Template:Quote_frame&oldid=186490"