Sjabloon:Tracking category/doc
40px | This is a documentation subpage for Sjabloon:Tracking category. It contains usage information, categories, interlanguage links and other content that is not part of the original sjabloon page. |
|
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:
80px |
|
{{#invoke:Error|error|The above template should only be transcluded in the category namespace(s).|tag=}} |
The template places the category into Category:Tracking categories and causes the categorization to be hidden on its member pages.
An additional parameter, "| container =
" allows further designation of the category, as a container category.
- The syntax,
{{Tracking category|container=yes}}
produces:
80px |
|
This is a container category. Due to its scope, it should contain only subcategories.
|
{{#invoke:Error|error|The above template should only be transcluded in the category namespace(s).|tag=}} |
When the parameter is used, the category is added to Category:Container categories as well as Category:Tracking categories. Template, {{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!!! |
When the error message is displayed, the page is also added to the pages with templates in the wrong namespace tracking category.
Other category header templates
Namespaces
Main: – {{Set category}} • {{Stub category}} • {{Parent-only stub category}} • {{Regional stub category}} File: – {{File template notice}} • {{Media template notice}} Help: – {{Help category}} Portal: – {{Portal category}} Template: – {{Template category}} User: – {{User category}} • {{Sockpuppet category}}
Maintenance
All – {{All included}} • {{Category diffuse}} • {{Container category}} • {{Distinguished subcategory}} • {{Empty category}} • {{Redirect category}} • {{Very large}} • {{Wikipedia category}}