Difference between revisions of "Template:TemplateDoc"
Jump to navigation
Jump to search
(Use {{clear}} to force table below other stuff) |
(Clarify instructions) |
||
| 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 (see | + | {{Parm|cat|yes|A category that the page is added to (see notes)|"(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.'' | ||
</noinclude> | </noinclude> | ||
Revision as of 09:53, June 2, 2007
| Template: TemplateDoc | |
|---|---|
| Use on | Template documentation pages |
| Use for | Documenting templates (this template) |
| Category | (none) |
| 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 (see notes) | "(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.