Template:Blockquote/doc

Revision as of 14:06, 5 August 2009 by wikipedia>84user (Note: This template does work correctly if there are URLs in the phrase; Workarounds?)

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

This is easier to type and more wiki-like than the equivalent HTML <blockquote> tags, has additional pre-formatted attribution and source parameters, and contains a workaround for Bugzilla:6200, which means you don't need to type <p> tags manually.

Note: Block quotes do not normally contain quotation marks. See Formatting block quotations.

Note: This template does work correctly if the phrase contains characters found in some URLs.

Usage

{{Quote|Phrase}} produces:

Phrase

{{Quote|Phrase|Somebody}} produces:

Phrase

— Somebody

{{Quote|Phrase|Somebody|''Source''}} produces:

Phrase

— Somebody, Source

Example

Code Result
{{Blockquote|{{lorem ipsum}}|Some Guy Who Thought He Spoke Latin|''Pseudo-Italic Nonsense''}}

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.

— Some Guy Who Thought He Spoke Latin, Pseudo-Italic Nonsense

Issues

Phrases containing some URLs are not displayed at all:

{{Quote|Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}} produces:

Somebody

— Source

{{Quote|1=Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}} produces:

Somebody

— Source

See also

Template:Quotation templates see also