Template:Disambiguation/cat

From WikiAlpha
Jump to: navigation, search
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.
[edit] [purge] Template documentation

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 value for some of the categories in this template are as follows (some other variants will also work):

This list is usually not complete, since we 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:WikiAlpha disambig 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.