Template:Quote
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.
This template uses TemplateStyles: |
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
TemplateData for Quote
This template adds a block quotation to an article page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
quote | 1 text content quotetext quote | The quote text itself | Content | required |
quotee | 2 sign author cite by personquoted | The author of the quotation | Line | optional |
source title | 3 title publication ts quotesource | no description | Line | optional |
source | 4 source | no description | Line | optional |
character | char character | The character who says (or otherwise expresses) the quoted text in the quoted work | Line | optional |
style | style | no description | Unknown | optional |
multiline | multiline | no description | Unknown | optional |