Difference between revisions of "Template:Quote/doc"
en>Zenohockey (→See also: +Temp:Cquote) |
en>Omegatron |
||
| 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
{{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