Difference between revisions of "Template:Quote/doc"
(→See also: +Temp:Cquote) |
|||
Line 3: | Line 3: | ||
<includeonly>{{esoteric}}</includeonly> | <includeonly>{{esoteric}}</includeonly> | ||
− | <code>{{[[Template:{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}]]}}</code> adds a | + | <code>{{[[Template:{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}]]}}</code> 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. | ||
==Usage== | ==Usage== |
Revision as of 15:49, 23 July 2007
Template:Template doc page viewed directly
{{quote/doc}}
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.
Usage
{{Quote|Phrase}}
produces:
Phrase{{#if: |—{{#if:}}|,
}}
{{Quote|Phrase|Somebody}}
produces:
Phrase{{#if:Somebody |—Somebody{{#if:}}|,
}}
{{Quote|Phrase|Somebody|''Source''}}
produces:
Phrase{{#if:Somebody |—Somebody{{#if:Source}}|, Source
}}
Example
Code | Result | |||||
{{Quote|{{lorem_ipsum}}|Some Latin Guy|''Italic Nonsense''}}
|
1|#default=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. | 2=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.
|
3=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.
|
4=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.
|
—Some Latin Guy{{#if:Italic Nonsense
|
, Italic Nonsense }} }} |
See also