Changes

Jump to navigation Jump to search
Add default for no categories
Line 8: Line 8:  
| ''Use for'' ||{{{purpose}}}
 
| ''Use for'' ||{{{purpose}}}
 
|-
 
|-
| ''Category'' ||{{#if:{{{cat|}}}|[[:category:{{{cat}}}]]|}}
+
| ''Category'' ||{{#if:{{{cat|}}}|[[:category:{{{cat}}}]]|(none)}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{TemplateDoc|pages=Template documentation pages|purpose=Documenting templates (this template)}}
 
{{TemplateDoc|pages=Template documentation pages|purpose=Documenting templates (this template)}}
Line 15: Line 15:  
{{Parm|pages|no|What type of pages to use the template on|}}
 
{{Parm|pages|no|What type of pages to use the template on|}}
 
{{Parm|purpose|no|The purpose of the template|}}
 
{{Parm|purpose|no|The purpose of the template|}}
{{Parm|cat|yes|A category that the page is added to|}}
+
{{Parm|cat|yes|A category that the page is added to (see note)|(none)}}
 
}}
 
}}
 +
Note:  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.
    
</noinclude>
 
</noinclude>
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu