Difference between revisions of "Template:Quote/doc"
en>VSimonian |
imported>Komusou ({{tl}} instead of handcoded equivalent) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| − | + | {{Intricate}} | |
| − | + | ==Usage== | |
| − | + | '''{{tl|Quote}}''' adds a [[block quote]] to an article page. | |
This is easier to type and more wiki-like than the equivalent HTML <code><nowiki><blockquote></nowiki></code> tags, has additional pre-formatted attribution and source parameters, and contains a workaround for [[Bugzilla:6200]], which means you don't need to type <code><nowiki><p></nowiki></code> tags manually. | This is easier to type and more wiki-like than the equivalent HTML <code><nowiki><blockquote></nowiki></code> tags, has additional pre-formatted attribution and source parameters, and contains a workaround for [[Bugzilla:6200]], which means you don't need to type <code><nowiki><p></nowiki></code> tags manually. | ||
| − | Note: Block quotes do not normally contain quotation marks. See [[ | + | Note: Block quotes do not normally contain quotation marks. See [[Block quote#Formatting block quotes|Formatting block quotes]]. |
| − | == | + | ==Syntax== |
<code><nowiki>{{Quote|Phrase}}</nowiki></code> produces: | <code><nowiki>{{Quote|Phrase}}</nowiki></code> produces: | ||
Revision as of 21:32, 16 November 2007
Template:Mbox Template:Intricate
Contents
Usage
Template:Tl 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 quotes.
Syntax
{{Quote|Phrase}} produces:
Phrase
{{Quote|Phrase|Somebody}} produces:
Phrase—Somebody
{{Quote|Phrase|Somebody|''Source''}} produces:
Phrase—Somebody, Source
Example
| Code | Result |
{{Quote|{{lorem_ipsum}}|Some Latin Guy|''Italic Nonsense''}}
|
|
See also
Similar templates comparison:
- Template:Epigraph – quote without border, page-wide, normal-sized attribution
- Template:Quote – quote without border, page-wide, smaller-sized attribution
- Template:Quotation – quote with border, page-wide
- Template:Quote box – quote with border, in a reduced floating box
- Template:Cquote – pull-quote between graphic quotation marks, page-wide
- Template:Rquote – pull-quote between graphic quotation marks, in a reduced floating area
- Category:Quotation templates – more templates