Difference between revisions of "Template:Quote/doc"
(adding Template:Doctl; WIP) |
(cleanup) |
||
Line 2: | Line 2: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
<includeonly>{{esoteric}}</includeonly> | <includeonly>{{esoteric}}</includeonly> | ||
− | {{editing| | + | {{editing|a day}} |
+ | |||
+ | <code>{{[[Template:{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}]]}}</code> adds a blockquote to an article page, with the addition of an attribute and source. | ||
+ | |||
==Usage== | ==Usage== | ||
<code><nowiki>{{Quote|Phrase|Somebody}}</nowiki></code> produces: | <code><nowiki>{{Quote|Phrase|Somebody}}</nowiki></code> produces: | ||
Line 16: | Line 19: | ||
{{Quote|Phrase|Somebody|Somebody's full name|topic}} | {{Quote|Phrase|Somebody|Somebody's full name|topic}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
<!-- for the documentation don't subst the result --> | <!-- for the documentation don't subst the result --> | ||
Line 37: | Line 25: | ||
| '''Result''' | | '''Result''' | ||
|- | |- | ||
− | | valign="top" | <code>{{{{ | + | | valign="top" | <code>{{{{BASEPAGENAME}}|<nowiki>{{lorem_ipsum}}</nowiki>}}</code> |
− | + | | {{msg:{{BASEPAGENAME}}|{{lorem ipsum}}|Somebody|Some Latin Guy|Italic Nonsense}} | |
− | |||
− | |||
− | | {{msg:{{ | ||
|} | |} | ||
Line 47: | Line 32: | ||
<!-- self-listing for quick access on edit history --> | <!-- self-listing for quick access on edit history --> | ||
− | * {{Lts|{{ | + | * {{Lts|{{BASEPAGENAME}}}} |
* <!-- links to relevant pages --> | * <!-- links to relevant pages --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly> | <includeonly> |
Revision as of 00:38, 9 January 2007
Template:Template doc page viewed directly
{{quote/doc}}
adds a blockquote to an article page, with the addition of an attribute and source.
Usage
{{Quote|Phrase|Somebody}}
produces:
Phrase{{#if:Somebody |—Somebody{{#if:}}|,
}}
{{Quote|Phrase|Somebody|Somebody's full name}}
produces:
Phrase{{#if:Somebody |—Somebody{{#if:Somebody's full name}}|, Somebody's full name
}}
{{Quote|Phrase|Somebody|Somebody's full name|topic}}
produces:
Phrase{{#if:Somebody |—Somebody{{#if:Somebody's full name}}|, Somebody's full name
}}
Example
Code | Result | |||||
{{Quote|{{lorem_ipsum}}}}
|
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.
|
—Somebody{{#if:Some Latin Guy
|
, Some Latin Guy }} }} |
See also