Template:Template category
(Redirected from Template:Tracking category)
This documentation is transcluded from Template:Template category/doc.
This template sets the following categories.
Header for categories of general, main, tracking, or various translated template types.
Parameter | Description | Type | Status | |
---|---|---|---|---|
main switch | 1 | Unused or one of main, tracking, or translated. | String | optional |
shortcut | 2 shortcut | Wikilink without square brackets | Page name | optional |
description | description | Optional wikitext, e.g., show populating template. | String | suggested |
type | type | Shorthands for various translated template categories | String | optional |
category | category | Bypass categorization for tracking or translated | String | optional |
Usage
[edit]The named parameters can be combined as needed.
- Shorthands
Parameter #1 – main switch
[edit]input | result |
---|---|
{{Template category}}
|
|
{{Template category |main}}
|
|
{{Template category |tracking}}
|
|
{{Template category |translated}}
|
Parameter #2 "shortcut"
[edit]input | result |
---|---|
{{Template category |shortcut=CAT:CAT}}
|
Parameter "description"
[edit]The description SHOULD state which template(s) populate the template category.
input | result |
---|---|
{{Template category |description=This category is populated by {{tl|example template}}.}}
|
Parameter "category" – for manually categorization
[edit]{{Template category|tracking|category=}}
disables the categorization into Template tracking categories.{{Template category|translated|category=}}
disables the categorization determined by the otherwise REQUIRED type parameter:
input | result |
---|---|
{{Template category |category=Wikitext}}
|
Parameter "type" – for auto-categorization of different translated templates
[edit]All are auto-categorizated into Category:Translated templates with the value of parameter type as sortkey. Secondly they are categorizated into the following category:
input | category |
---|---|
{{Template category |translated|type=cleanup}}
|
Media cleanup templates |
{{Template category |translated|type=documentation}}
|
Documentation templates |
{{Template category |translated|type=header}}
|
Header templates |
{{Template category |translated|type=infobox}}
|
Infobox templates |
{{Template category |translated|type=license}}
|
License tags |
{{Template category |translated|type=localisation}}
|
Localisation templates |
{{Template category |translated|type=location user}}
|
Location user templates |
{{Template category |translated|type=marker}}
|
Marker templates |
{{Template category |translated|type=navigational}}
|
Navigational templates |
{{Template category |translated|type=problem}}
|
Problem tags |
{{Template category |translated|type=protecticon}}
|
Protection templates |
{{Template category |translated|type=restriction}}
|
Restriction tags |
{{Template category |translated|type=source}}
|
Source templates |
{{Template category |translated|type=user}}
|
User templates |
See also
[edit]- {{Local template category}}
- {{Global maintenance category}}
- {{Local maintenance category}}
- {{Categorise}}
- {{Autocat}} – to place an infobox by which template a category is filled