Template:Blockquote/doc: Difference between revisions

cleanup
(adding Template:Doctl; WIP)
 
(cleanup)
Line 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<includeonly>{{esoteric}}</includeonly>
{{editing|6a hoursday}}
 
<code>{&#123;[[Template:{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}]]&#125;}</code> doesadds somethinga blockquote to an article page, editwith the addition of thisan lineattribute sayingand whatsource.
 
==Usage==
<code><nowiki>{{Quote|Phrase|Somebody}}</nowiki></code> produces:
Line 16 ⟶ 19:
{{Quote|Phrase|Somebody|Somebody's full name|topic}}
 
 
 
{{compactDocToc}}
=Documentation=
 
<code>{&#123;[[Template:{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}]]&#125;}</code> does something, edit this line saying what.
 
== Usage ==
<!-- Abstract usage of the template -->
 
<code>{&#123;{{PAGENAME}}&#125;}</code> - no parameter if applicable
 
<code>{&#123;{{PAGENAME}}|param&#125;}</code> - positional parameter
 
<code>{&#123;{{PAGENAME}}|name=value&#125;}</code> - named parameter
== Example ==
<!-- for the documentation don't subst the result -->
Line 37 ⟶ 25:
| '''Result'''
|-
| valign="top" | <code>{&#123;{{PAGENAMEBASEPAGENAME}}&#124;<nowiki>{{lorem_ipsum}}</nowiki>&#125;}</code>
| {{msg:{{BASEPAGENAME}}|{{lorem ipsum}}|Somebody|Some Latin Guy|Italic Nonsense}}
| {{msg:{{PAGENAME}}}}
|-
| valign="top" | <code>{&#123;{{PAGENAME}}&#124;param&#125;}</code>
| {{msg:{{PAGENAME}}|param}}
|}
 
Line 47 ⟶ 32:
 
<!-- self-listing for quick access on edit history -->
* {{Lts|{{PAGENAMEBASEPAGENAME}}}}
* <!-- links to relevant pages -->
 
= Discussion =
__TOC__ <!-- Created from Template:Doctl -->
''Add issues below as you see fit, sign with'' ~<nowiki>~~</nowiki>~
 
 
<includeonly>
Anonymous user