Difference between revisions of "Template:Doc/doc"

From translatewiki.net
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{doc viewed}}
 
{{doc viewed}}
  +
Use this template at end of a template (within a <tt>&lt;noinclude&gt; &lt;/noinclude&gt;</tt> section) to create and then show its documentation placed in a "/doc" subpage.
Summary description.
 
   
 
; Usage<nowiki>:</nowiki>
 
; Usage<nowiki>:</nowiki>
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}</tt>
+
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></tt>
: <tt><nowiki>| </nowiki>1=''sample''</tt>
 
: <tt><nowiki>| </nowiki>2=''sample''</tt>
 
: <tt><nowiki>}}</nowiki></tt>
 
   
 
; Parameters<nowiki>:</nowiki>
 
; Parameters<nowiki>:</nowiki>
  +
* none
* <tt>1=</tt> sample description
 
* <tt>2=</tt> sample description
 
 
; Example<nowiki>:</nowiki>
 
* <tt><nowiki>{{</nowiki>{{BASEPAGENAME}}</tt>
 
: <tt><nowiki>| </nowiki>1=''sample''</tt>
 
: <tt><nowiki>| </nowiki>2=''sample''</tt>
 
: <tt><nowiki>}}</nowiki></tt> generates:
 
{{ {{BASEPAGENAME}}
 
| 1=''sample''
 
| 2=''sample''
 
}}
 
{{-}}
 
   
 
; See also<nowiki>:</nowiki>
 
; See also<nowiki>:</nowiki>
* [[Template:Doc]]
 
 
* [[Template:Doc missing]]
 
* [[Template:Doc missing]]
 
* [[Template:Doc included]]
 
* [[Template:Doc included]]

Revision as of 23:46, 22 June 2008

Test Template Info-Icon - Version (2).svg
This is the documentation subpage for the parent Template:Doc page.

Use this template at end of a template (within a <noinclude> </noinclude> section) to create and then show its documentation placed in a "/doc" subpage.

Usage:
  • {{Doc}}
Parameters:
  • none
See also: