Difference between revisions of "Template:Quote/doc"
test>MC10 (→Example: use " " rather than "_") |
test>Thumperward (tidy) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | ||
| − | |||
| − | |||
'''{{tl|Quote}}''' adds a [[block quote]] to an article page. | '''{{tl|Quote}}''' adds a [[block quote]] to an article page. | ||
| Line 9: | Line 7: | ||
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]]. | ||
| − | == | + | === Usage === |
| + | |||
<code><nowiki>{{Quote|Phrase}}</nowiki></code> produces: | <code><nowiki>{{Quote|Phrase}}</nowiki></code> produces: | ||
| Line 22: | Line 21: | ||
{{Quote|Phrase|Somebody|''Source''}} | {{Quote|Phrase|Somebody|''Source''}} | ||
| − | ==Example== | + | === Example === |
| + | |||
<!-- for the documentation don't subst the result --> | <!-- for the documentation don't subst the result --> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|} | |} | ||
| − | ==See also== | + | === See also === |
| + | |||
{{Quotation templates see also}} | {{Quotation templates see also}} | ||
<includeonly> | <includeonly> | ||
| + | {{pp-template|small=yes}} | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Quotation templates|{{PAGENAME}}]] | [[Category:Quotation templates|{{PAGENAME}}]] | ||
Revision as of 21:32, 10 July 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.
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''}}
|
|
See also
Template:Quotation templates see also