Sjabloon:Tracking category: verschil tussen versies
Geen bewerkingssamenvatting |
k 1 versie |
(geen verschil)
| |
Huidige versie van 22 jul 2013 om 13:50
| Bestand:Category.svg |
|
|
|
|
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:
| Bestand:Category.svg |
|
|
|
{{#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:
| Bestand:Category.svg |
|
|
|
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}}
| The above documentation is transcluded from Sjabloon:Tracking category/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |