Template:Disambiguation/cat: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Removed duplicate entries. Added back {{pp-template}} and {{documentation}}, even sub-templates should have a /doc, and especially if they are protected.)
(Added several more names and categories. See Template talk:Disambig#The other disambig templates. And changed so the main name is the one before the "= Category..." in all cases.)
Line 4: Line 4:
| clean-up
| clean-up
| cleanup = [[Category:Disambiguation pages in need of cleanup]]
| cleanup = [[Category:Disambiguation pages in need of cleanup]]
| airports
| airport
| airports = [[Category:Airport disambiguation]]
| airport = [[Category:Airport disambiguation]]
| call sign
| call sign
| call signs
| call signs
Line 11: Line 11:
| broadcast call signs
| broadcast call signs
| callsign = [[Category:Broadcast call sign disambiguation pages]]
| callsign = [[Category:Broadcast call sign disambiguation pages]]
| chinese char
| chinese-char
| chinesechar
| chinese character
| chinese = [[Category:Disambiguation pages with Chinese character titles]]
| churches
| churches
| church building
| church building
| church buildings
| church buildings
| church = [[Category:Church building disambiguation pages]]
| church = [[Category:Church building disambiguation pages]]
| fish = [[Category:Fish common names]]
| geo
| geodis
| geodis
| geography
| geography
Line 22: Line 27:
| place names
| place names
| place
| place
| places
| places = [[Category:Place name disambiguation pages]]
| geo = [[Category:Place name disambiguation pages]]
| name
| name
| names
| names
| human name
| human name
| human names
| human names
| hn
| hndis
| hndis = [[Category:Human name disambiguation pages]]
| hn = [[Category:Human name disambiguation pages]]
| surnames
| surnames
| surname = [[Category:Surnames]]
| surname = [[Category:Surnames]]
Line 35: Line 41:
| hospital name
| hospital name
| hospital names
| hospital names
| hospitals
| hospital
| hospitals = [[Category:Lists of ambiguous hospital names]]
| hospital = [[Category:Lists of ambiguous hospital names]]
| latin name
| math
| latin names
| latin = [[Category:Latin name disambiguation pages]]
| letter-number
| letter number = [[Category:Letter-number combination disambiguation pages]]
| mathdab
| maths
| maths
| mathematics
| mathematics
| mathematical
| mathematical
| mathdab = [[Category:Mathematical disambiguation]]
| math = [[Category:Mathematical disambiguation]]
| molecular formula
| number
| molform = [[Category:Molecular formula disambiguation pages]][[Category:Molecular formulas]]
| numberdis
| numbers
| numbers
| ambiguous number
| ambiguous number
| ambiguous numbers
| ambiguous numbers
| numberdis = [[Category:Lists of ambiguous numbers]]
| number = [[Category:Lists of ambiguous numbers]]
| plant
| plants
| plants = [[Category:Plant common names]]
| plant = [[Category:Plant common names]]
| road
| roaddis
| roads
| roads
| roaddis = [[Category:Lists of roads sharing the same title]]
| road = [[Category:Lists of roads sharing the same title]]
| schooldis
| school
| schools
| schools
| educational institution
| educational institution
Line 60: Line 73:
| university
| university
| universities
| universities
| schooldis = [[Category:Educational institution disambiguation]]
| school = [[Category:Educational institution disambiguation]]
| = <!-- No value fed, is also valid input -->
| = <!-- No value fed, is also valid input -->
| #default = <!-- <div style="text-align: center;">This disambiguation box is using an invalid category parameter "{{{1|}}}" and needs fixing. <small>([[:Category:Wikipedia disambig or set index box parameter needs fixing|learn more]])</small></div> -->[[Category:Wikipedia disambig or set index box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| #default = <!-- <div style="text-align: center;">This disambiguation box is using an invalid category parameter "{{{1|}}}" and needs fixing. <small>([[:Category:Wikipedia disambig or set index box parameter needs fixing|learn more]])</small></div> -->[[Category:Wikipedia disambig or set index box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->

Revision as of 17:09, 8 February 2010

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