Template:Disambiguation/cat/doc

This is the Disambiguation/cat sub-template.

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

This template is called from and. 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):


 * airport: for Category:Airport disambiguation
 * callsign: for Category:Broadcast call sign disambiguation pages
 * chinese: for Category:Disambiguation pages with Chinese character titles
 * church: for Category:Church building disambiguation pages
 * fish: for Category:Fish common names
 * genus: for Category:Genus disambiguation pages
 * geo: for Category:Place name disambiguation pages
 * given name: Category:Given names
 * hn: for Category:Human name disambiguation pages
 * hospital: for Category:Hospital disambiguation pages
 * latin: for Category:Latin name disambiguation pages
 * letter number: for Category:Letter-number combination disambiguation pages
 * math: for Category:Mathematical disambiguation
 * molform: for Category:Molecular formula disambiguation pages
 * number: for Category:Lists of ambiguous numbers
 * plant: for Category:Plant common names
 * political: for Category:Political party disambiguation pages
 * road: for Category:Lists of roads sharing the same title
 * school: for Category:Educational institution disambiguation
 * surname: for Category:Surnames


 * cleanup: for Category:Disambiguation pages in need of cleanup
 * split: for Category:Disambiguation pages in need of being split

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:WikiQueer 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.