Template:Quotation/doc

From BMW Tech
Jump to navigation Jump to search

Usage

  • You should not put quotation marks around the quote. This template acts as a pull quote to separate it from the text instead.
  • NOTE: This template should not be used for block quotes in article text. For long quotations in the text, the Manual of Style recommends using the HTML <blockquote> element, such as through the use of the {{Quote}} template.
  • {{Quotation|Clunk mouse colored mauve. Bully other rodents, stealing the cheese rapid. Police mice catch crook squeak video prime time TV show. Juror mouse frown XXXX1.|Whoever said it|Source of the quote}}

produces:

Clunk mouse colored mauve. Bully other rodents, stealing the cheese rapid. Police mice catch crook squeak video prime time TV show. Juror mouse frown XXXX1.

Whoever said it, Source of the quote

  • {{Quotation|Your text|Author||from "Short Story", in ''Anthology'' (2021)}}

produces the following (notice the || to skip the italicized parameter):

Your text

Author, from "Short Story", in Anthology (2021)

The equal sign (=)

If any of the parameters include an equal sign, this will make the template not recognize the parameter properly. To fix this the parameter needs to be prefixed with "1=", "2=", etc. depending on which of the templates parameter's this applies to.

See also

Similar templates
  • Template:Epigraph – quote without border, page-wide, normal-sized attribution
  • Template:Quote – quote without border, page-wide, smaller-sized attribution
  • Template:Quotation – quote with border, page-wide
  • Template:Quote box – quote with border, in a reduced floating box
  • Template:Quote box2 – quote with border, in a reduced floating box, optional title, extra formatting options
  • Template:Quote box3 - quote in a floating box with quotation marks just outside the alignment of the quote
  • Template:Cquote – pull-quote between graphic quotation marks, page-wide
  • Template:Rquote – pull-quote between graphic quotation marks, in a reduced floating area
  • Category:Quotation templates – more templates