Template:Disambiguation/cat/doc

This is the dabcat meta-template.

It is intended to be used inside the disambig template.

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

Recommended parameter values are as follows (some other variants will also work):
 * hn: for Category:Human name disambiguation pages
 * surname: for Category:Surnames
 * given name: Category:Given names
 * geo: for Category:Place name disambiguation pages
 * mountain: for Category:Disambiguation lists of mountains
 * airport: for Category:Airport disambiguation
 * hospital: for Category:Lists of ambiguous hospital names
 * road: for Category:Lists of roads sharing the same title
 * school: for Category:Educational institution disambiguation
 * math: for Category:Mathematical disambiguation
 * number: for Category:Lists of ambiguous numbers
 * plant: for Category:Plant common names

Error reporting
If/when an invalid parameter is fed to this template it prints an error message and categorises the page into Category:Wikipedia 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.