Difference between revisions of "Template:Disambiguation/cat/doc"

From blackwiki
Jump to navigation Jump to search
imported>JHunterJ
(-molform)
imported>JHunterJ
(update doc)
Line 22: Line 22:
 
*chinese: for [[:Category:Disambiguation pages with Chinese character titles]]
 
*chinese: for [[:Category:Disambiguation pages with Chinese character titles]]
 
*church: for [[:Category:Church building disambiguation pages]]
 
*church: for [[:Category:Church building disambiguation pages]]
*fish: for [[:Category:Fish common names]]
+
*fish: for [[:Category:Fish common name disambiguation pages]]
 
*genus: for [[:Category:Genus disambiguation pages]]
 
*genus: for [[:Category:Genus disambiguation pages]]
 
*geo: for [[:Category:Place name disambiguation pages]]
 
*geo: for [[:Category:Place name disambiguation pages]]
Line 32: Line 32:
 
*math: for [[:Category:Mathematical disambiguation]]
 
*math: for [[:Category:Mathematical disambiguation]]
 
*number: for [[:Category:Lists of ambiguous numbers]]
 
*number: for [[:Category:Lists of ambiguous numbers]]
*plant: for [[:Category:Plant common names]]
+
*plant: for [[:Category:Plant common name disambiguation pages]]
 
*political: for [[:Category:Political party disambiguation pages]]
 
*political: for [[:Category:Political party disambiguation pages]]
 
*road: for [[:Category:Road disambiguation pages]]
 
*road: for [[:Category:Road disambiguation pages]]

Revision as of 11:05, 23 July 2013

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