Template:Template category/doc

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Usage
input result
{{template category}} {{#switch:{{{1}}} tracking = translated =
{{template category|main}} {{#switch:main tracking = translated =
{{template category|tracking}} {{#switch:tracking tracking = translated =
{{template category|translated}} {{#switch:translated tracking = translated =
{{template category|description=Wikitext}} {{#switch:{{{1}}} tracking = translated =
{{template category|category=Wikitext}} {{#switch:{{{1}}} tracking = Wikitext translated = Wikitext
{{template category|shortcut=CAT:CAT}} {{#switch:{{{1}}} tracking = translated =
  • The named parameters can be combined as needed.
  • The description should state which template(s) populate the template category, e.g., description=This category is populated by {{tl|name}}.
  • {{template category|tracking|category=}} disables the categorization in Template tracking categories.
  • {{template category|translated|category=}} disables the categorization determined by the otherwise required type parameter:
input category
{{template category|translated|type=cleanup}} Media cleanup templates
{{template category|translated|type=documentation}} Template documentation
{{template category|translated|type=header}} Header templates
{{template category|translated|type=infobox}} Infobox templates
{{template category|translated|type=license}} License templates
{{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

Also see {{local template category}}

{{local template category}}, {{Global maintenance category}}

{{Global maintenance category}}, {{Local maintenance category}}

{{Local maintenance category}}, and {{Categorise}}

{{Categorise}}.


Header for categories of general, main, tracking, or various translated template types.

Template parameters

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