Template:Disambiguation/cat/doc

From CAPipedia

[[Category:Template documentation pages{{#translation:}}]]

This is the {{Disambiguation/cat}} sub-template.

Do not use this template directly, use {{Disambiguation}} or {{Disambiguation cleanup}} instead.

This template is called from {{Disambiguation}} and {{Disambiguation cleanup}}. It handles some of the categorization logic for those templates.

For more documentation see {{Disambiguation}} and {{Disambiguation cleanup}}.

{{Dabcat}} redirects here, and is used by {{Disambiguation cleanup}}.

Parameters

This template takes one parameter and produces a category assignment dependent on that parameter.

The main parameter values (along with their aliases, listed in round brackets) for the categories in this template are as follows:

Maintenance disambiguation pages
CAP functional area disambiguation pages
Place name disambiguation pages‎
Other disambiguation pages

This list is currently complete as of 12 January 2024, but we still add new categories to this template every now and then.

Error reporting

If an invalid parameter is fed to this template it displays an error message and categorizes the page into Category:CAPipediadisambig or set index box parameter needs fixing. Thus editors can see when they use an invalid parameter, and if they don't notice it we can easily find and fix such cases by taking a look in that category.