Template:Tracking category/doc
This is a documentation subpage for Template:Tracking category. It contains usage information, categories and other content that is not part of the original template page. |
This template should not be substituted. |
This template is used to identify tracking categories, used to create lists of templates or pages using specific syntax or features by placing a notice on the category page and listing the category in an appropriate container category.
Usage
Paste the basic syntax, {{Tracking category}}
, on category pages that you are designating as a tracking category.
- It will produce the message box shown below:
This is a tracking category It is used to build and maintain lists of pages—primarily for the sake of the lists themselves. They are not part of the knowledge base categorization scheme.
|
The template places the category into Category:Tracking categories and causes the categorization to be hidden on its member pages.
- Parameter text=
Using |text=
allows adding extra text to the template. The text will be shown in the visible (unfolded) part of the template.
- Parameter container=yes
An additional parameter, "| container =
" allows further designation of the category, as a container category.
The syntax, {{Tracking category|container=yes}}
produces:
This is a tracking category It is used to build and maintain lists of pages—primarily for the sake of the lists themselves. They are not part of the knowledge base categorization scheme.
|
This is a container category. Due to its scope, it should contain only subcategories. |
When the parameter is used, the category is added to Category:Container categories as well as Category:Tracking categories. This option {{Tracking category}}
is only for use in the category namespace, ns=14. Displaying the template on any page in another namespace will cause the following error message to appear:
The above template should only be transcluded in the Category namespace(s). |
This message also adds the page to pages with templates in the wrong namespace for cleanup.