Difference between revisions of "Template:TemplateDoc"

From Conservapedia
Jump to navigation Jump to search
(Finish documentation)
(Add category field)
Line 7: Line 7:
 
|-
 
|-
 
| ''Use for'' ||{{{purpose}}}
 
| ''Use for'' ||{{{purpose}}}
 +
|-
 +
| ''Category'' ||{{#if:{{{cat|}}}|[[:category:{{{cat}}}]]|}}
 
|}</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 13: 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|}}
 
}}
 
}}
  
 
</noinclude>
 
</noinclude>

Revision as of 14:37, May 28, 2007



Template: TemplateDoc
Use on Template documentation pages
Use for Documenting templates (this template)
Category
Template Parameters
(See using templates).
Name Purpose Required? Comment
Name Yes The name of the template The name of the page
pages no What type of pages to use the template on
purpose no The purpose of the template
cat yes A category that the page is added to