Difference between revisions of "Template:Quote/doc"
test>Thumperward (tidy) |
test>84user (Note: This template does work correctly if there are URLs in the phrase; Workarounds?) |
||
| Line 6: | Line 6: | ||
Note: Block quotes do not normally contain quotation marks. See [[Block quote#Formatting block quotations|Formatting block quotations]]. | Note: Block quotes do not normally contain quotation marks. See [[Block quote#Formatting block quotations|Formatting block quotations]]. | ||
| + | |||
| + | '''Note: This template does work correctly if the phrase contains characters found in some URLs.''' | ||
=== Usage === | === Usage === | ||
| Line 31: | Line 33: | ||
| {{msg:{{BASEPAGENAME}}|{{lorem ipsum}}|Some Guy Who Thought He Spoke Latin|''Pseudo-Italic Nonsense''}} | | {{msg:{{BASEPAGENAME}}|{{lorem ipsum}}|Some Guy Who Thought He Spoke Latin|''Pseudo-Italic Nonsense''}} | ||
|} | |} | ||
| + | |||
| + | === Issues === | ||
| + | |||
| + | Phrases containing some URLs are not displayed at all: | ||
| + | |||
| + | <code><nowiki> | ||
| + | {{Quote|Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}}</nowiki></code> produces: | ||
| + | |||
| + | {{Quote|Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}} | ||
| + | |||
| + | <code><nowiki> | ||
| + | {{Quote|1=Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}}</nowiki></code> produces: | ||
| + | |||
| + | {{Quote|1=Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}} | ||
=== See also === | === See also === | ||
Revision as of 14:06, 5 August 2009
| This is a documentation subpage for Template:Quote. It contains usage information, categories and other content that is not part of the original template page. |
{{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.
Contents
Usage
{{Quote|Phrase}} produces:
Phrase
{{Quote|Phrase|Somebody}} produces:
Phrase
— Script error: No such module "If empty"., Script error: No such module "If empty"., Script error: No such module "If empty".
{{Quote|Phrase|Somebody|''Source''}} produces:
Phrase
— Script error: No such module "If empty"., Script error: No such module "If empty"., Script error: No such module "If empty".
Example
| Code | Result |
{{Quote|{{lorem ipsum}}|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
— Script error: No such module "If empty"., Script error: No such module "If empty"., Script error: No such module "If empty".
{{Quote|1=Phrase with a URL: http://w.a.o/d.php?id=T |Somebody|''Source''}} produces:
Somebody
— Script error: No such module "If empty"., Script error: No such module "If empty"., Script error: No such module "If empty".
See also
Template:Quotation templates see also