Difference between revisions of "Template:Doc/doc"

From translatewiki.net
Jump to navigation Jump to search
m
 
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{doc}}
+
{{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]] – internal banner displayed.
* [[Template:Doc missing]]
+
* [[Template:Doc included]] – internal banner displayed.
* [[Template:Doc included]]
+
* [[Template:Doc viewed]] – to use at the top of <tt>/doc</tt> subpages.
* [[Template:Doc viewed]]
 
 
<includeonly>
 
<includeonly>
 
<!-- Categories for the parent template page -->
 
<!-- Categories for the parent template page -->
[[Category:<!-- please subcategorize here --> templates|{{PAGENAME}}]]
+
[[Category:Template documentation templates|{{PAGENAME}}]]
 
</includeonly>
<!-- Interwikis for the parent template page -->
 
 
</includeonly><noinclude>
 
<!-- Categories for this documentation page only -->
 
[[Category:Template documentation pages|{{PAGENAME}}]]
 
</noinclude>
 

Latest revision as of 02:19, 23 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: