Difference between revisions of "Template:Quote/doc"
test>Cognatus m (contrary to popular belief, Lorem ipsum is not exactly latin.) |
test>Cognatus m (→Example: and to make the left-hand column match...) |
||
| Line 28: | Line 28: | ||
| '''Result''' | | '''Result''' | ||
|- | |- | ||
| − | | valign="top" | <code>{{{{BASEPAGENAME}}|<nowiki>{{lorem_ipsum}}</nowiki>|Some Latin | + | | valign="top" | <code>{{{{BASEPAGENAME}}|<nowiki>{{lorem_ipsum}}</nowiki>|Some Guy Who Thought He Spoke Latin|''Pseudo-Italic Nonsense''}}</code> |
| {{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''}} | ||
|} | |} | ||
Revision as of 02:48, 24 October 2008
| 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. |
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Contents
Usage
{{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.
Syntax
{{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