Difference between revisions of "Template:Quote/doc"
en>Down10 (adding Template:Doctl; WIP) |
en>Down10 (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—Somebody
{{Quote|Phrase|Somebody|Somebody's full name}} produces:
Phrase—Somebody, Somebody's full name
{{Quote|Phrase|Somebody|Somebody's full name|topic}} produces:
Phrase—Somebody, Somebody's full name
Example
| Code | Result |
{{Quote|{{lorem_ipsum}}}}
|
|
See also