Template:Disambiguation/cat: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(cats)
m (50 revisions imported)
 
(14 intermediate revisions by 9 users not shown)
Line 6:
| airports
| airport = [[Category:Airport disambiguation]]
| surnamebird = [[Category:SurnameBird common name disambiguation pages]]
| givenname
| given name= [[Category:Given name disambiguation pages]]
| call sign
| call signs
Line 14 ⟶ 12:
| broadcast call signs
| callsign = [[Category:Broadcast call sign disambiguation pages]]
| caselaw = [[Category:Case law disambiguation pages]]
| chinese char
| chinese-char
Line 23 ⟶ 22:
| church buildings
| church = [[Category:Church building disambiguation pages]]
| fish = [[Category:Fish common namesname disambiguation pages]]
| geodis
| geography
Line 41 ⟶ 40:
| hndis
| hn = [[Category:Human name disambiguation pages]]
| surnames = [[Category:Disambiguation pages with surname-holder lists]]
| surnames
| surname = [[Category:SurnamesDisambiguation pages with surname-holder lists]]
| given names =[[Category:Disambiguation pages with given-name-holder lists]]
| given names
| given name = [[Category:GivenDisambiguation namespages with given-name-holder lists]]
| hospital name
| hospital names
Line 58 ⟶ 57:
| mathematics
| mathematical
| math = [[Category:MathematicalMathematics disambiguation pages]]
| molecular formula
| molform = [[Category:Molecular formula disambiguation pages]][[Category:Molecular formulas]]
| numberdis
| numbers
Line 67 ⟶ 64:
| number = [[Category:Lists of ambiguous numbers]]
| plants
| plant = [[Category:Plant common namesname disambiguation pages]]
| roaddis
| roads
| road = [[Category:ListsRoad ofdisambiguation roads sharing the same titlepages]]
| schooldis
| schools
Line 80 ⟶ 77:
| universities
| school = [[Category:Educational institution disambiguation pages]]
| giventndis name= [[Category:GivenTitle and name disambiguation pages]]
| political
| party = [[Category:Political party disambiguation pages]]
| genus = [[Category:Genus disambiguation pages]]
| ship = [[Category:Ship disambiguation pages]]
| = <!-- 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 -->
}}<noinclude>
{{Documentation}}
 
<!--Please Addadd categoriesthis andtemplate's interwikiscategories to the /doc subpage, not here! - thanks!-->
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 21:39, 13 November 2017

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.