Changes

Jump to navigation Jump to search
m
Protected "Template:TemplateDoc" [edit=sysop:move=sysop]
Line 1: Line 1: −
<includeonly>
+
<includeonly>{{clear}}
 
----
 
----
 
{| class="wikitable"
 
{| class="wikitable"
Line 7: Line 7:  
|-
 
|-
 
| ''Use for'' ||{{{purpose}}}
 
| ''Use for'' ||{{{purpose}}}
|}
  −
<!-- {|
  −
!colspan=4|Parameters
   
|-
 
|-
|Name||Optional?||Description||Default
+
| ''Category template applies to page'' ||{{#if:{{{cat|}}}|[[:category:{{{cat}}}|{{{cat}}}]]|(none)}}
|-
+
|}</includeonly><noinclude>
|{{{Parm1}}}||{{{Parm1Opt}}}||{{{Parm1Descr}}}||{{{Parm1Dflt}}}
  −
|} -->
  −
</includeonly><noinclude>
   
{{TemplateDoc|pages=Template documentation pages|purpose=Documenting templates (this template)}}
 
{{TemplateDoc|pages=Template documentation pages|purpose=Documenting templates (this template)}}
 +
{{Parms|
 +
{{Parm|Name|The name of the template|no|Defaults to the name of the page}}
 +
{{Parm|pages|What type of pages to use the template on|yes}}
 +
{{Parm|purpose|The purpose of the template|yes}}
 +
{{Parm|cat|A category that the page is added to (see notes)|no|Defaults to "(none)"}}
 +
}}
 +
Notes:
 +
* This is a category that this template adds to any page on which it is placed.  That is, it is a category for categorising the article, not the template.  If the template does not add a category to pages, leave this parameter blank (or omit it).
 +
* If more than one category is applied by the template, or alternative categories depending on parameters, put (see note) and list them separately on the documentation page.  ''NB:  This has a bug, but do it anyway.''
   −
<!-- |Parm=yes
  −
parm1=Name|parmOpt=yes"parm1Descr=The name of the template}} -->
   
</noinclude>
 
</noinclude>
4,604

edits

Navigation menu