Template:Quote

(Redirected from Template:Quotation)

Lorem ipsum dolor sit amet, consectetur adipisicing 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

Usage

{{Quote}} adds a block quotation to an article page.

This is easier to type and more wiki-like than the equivalent HTML blockquote tags, and has additional pre-formatted attribution and source parameters.

Note: Block quotes do not normally contain quotation marks in English, so do not insert them to the text given in parameter. See w:en:MOS:QUOTE.

Synopsis

Unnamed (positional) parameters

{{quote|phrase|person|source}}

or

{{quote|phrase|person|source title|publication}}

This markup will fail if any parameter contains an equals sign (=).

Numbered (positional) parameters

{{quote|1=phrase|2=person|3=source title|4=publication}}

Named parameters

{{quote|text=phrase|sign=person|source=source title|publication=publication}}

or

{{quote|quote=phrase|author=person|title=source title|publication=publication}}

As optional, may be set custom width of quotation box, in percentages.

Example 1

Wikitext

{{Quote|text=Cry “Havoc” and let slip the dogs of war.|sign=[[William Shakespeare]]|source=[[Julius Caesar (play)|Julius Caesar]], Act III, Scene I}}

Result

Cry “Havoc” and let slip the dogs of war.

— William Shakespeare, Julius Caesar, Act III, Scene I

Example 2

Wikitext

{{Quote|width=90%|text=Cry “Havoc” and let slip the dogs of war.|sign=[[William Shakespeare]]|source=[[Julius Caesar (play)|Julius Caesar]], Act III, Scene I}}

Result

Cry “Havoc” and let slip the dogs of war.

— William Shakespeare, Julius Caesar, Act III, Scene I

Restrictions

If you do not provide quoted text, the template generates a parser error message, which will appear in red text in the rendered page.

If any parameter's actual value contains an equals sign (=), you must use named parameters. (The equals sign gets interpreted as a named parameter otherwise.)

If any parameter's actual value contains characters used for wiki markup syntax (such as pipe, brackets, single quotation marks, etc.), you may need to escape it. See Template:! and friends.

Be wary of URLs which contain restricted characters. The equals sign is especially common.

Multiple paragraphs

Please use "br" tag for dividing to multiple paragraphs.

TemplateData

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

TemplateData for Quote

This template adds a block quotation to an article page.

Template parameters

ParameterDescriptionTypeStatus
quote1 text content quotetext quote

The quote text itself

Contentrequired
quotee2 sign author cite by personquoted

The author of the quotation

Lineoptional
source title3 title publication ts quotesource

no description

Lineoptional
source4 source

no description

Lineoptional
characterchar character

The character who says (or otherwise expresses) the quoted text in the quoted work

Lineoptional
stylestyle

no description

Unknownoptional
multilinemultiline

no description

Unknownoptional

See also