Template:Template category

(Redirected from Template:Tracking category)
Template documentationview · edit · history · purge ]
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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
main switch1

Unused or one of main, tracking, or translated.

Stringoptional
shortcut2 shortcut

Wikilink without square brackets

Page nameoptional
descriptiondescription

Optional wikitext, e.g., show populating template.

Stringsuggested
typetype

Shorthands for various translated template categories

Stringoptional
categorycategory

Bypass categorization for tracking or translated

Stringoptional

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

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