Template:Disambiguation/cat: Difference between revisions
(add political, party options) |
m (50 revisions imported) |
||
(20 intermediate revisions by 13 users not shown) | |||
Line 6: | Line 6: | ||
| airports |
| airports |
||
| airport = [[Category:Airport disambiguation]] |
| airport = [[Category:Airport disambiguation]] |
||
⚫ | |||
| call sign |
| call sign |
||
| call signs |
| call signs |
||
Line 11: | Line 12: | ||
| broadcast call signs |
| broadcast call signs |
||
| callsign = [[Category:Broadcast call sign disambiguation pages]] |
| callsign = [[Category:Broadcast call sign disambiguation pages]] |
||
| caselaw = [[Category:Case law disambiguation pages]] |
|||
| chinese char |
| chinese char |
||
| chinese-char |
| chinese-char |
||
Line 20: | Line 22: | ||
| church buildings |
| church buildings |
||
| church = [[Category:Church building disambiguation pages]] |
| church = [[Category:Church building disambiguation pages]] |
||
| fish = [[Category:Fish common |
| fish = [[Category:Fish common name disambiguation pages]] |
||
| geodis |
| geodis |
||
| geography |
| geography |
||
Line 29: | Line 31: | ||
| places |
| places |
||
| geo = [[Category:Place name disambiguation pages]] |
| geo = [[Category:Place name disambiguation pages]] |
||
| county = [[Category:County name disambiguation pages]] |
|||
| uscounty = [[Category:United States county disambiguation pages]] |
|||
| township = [[Category:Township name disambiguation pages]] |
|||
| name |
| name |
||
| names |
| names |
||
Line 35: | Line 40: | ||
| hndis |
| hndis |
||
| hn = [[Category:Human name disambiguation pages]] |
| hn = [[Category:Human name disambiguation pages]] |
||
| surnames = [[Category:Disambiguation pages with surname-holder lists]] |
|||
| surnames |
|||
| surname = [[Category: |
| surname = [[Category:Disambiguation pages with surname-holder lists]] |
||
| given names =[[Category:Disambiguation pages with given-name-holder lists]] |
|||
| given names |
|||
| given name = [[Category: |
| given name = [[Category:Disambiguation pages with given-name-holder lists]] |
||
| hospital name |
| hospital name |
||
| hospital names |
| hospital names |
||
| hospitals |
| hospitals |
||
| hospital = [[Category: |
| hospital = [[Category:Hospital disambiguation pages]] |
||
| latin name |
| latin name |
||
| latin names |
| latin names |
||
Line 52: | Line 57: | ||
| mathematics |
| mathematics |
||
| mathematical |
| mathematical |
||
| math = [[Category: |
| math = [[Category:Mathematics disambiguation pages]] |
||
| molecular formula |
|||
⚫ | |||
| numberdis |
| numberdis |
||
| numbers |
| numbers |
||
Line 61: | Line 64: | ||
| number = [[Category:Lists of ambiguous numbers]] |
| number = [[Category:Lists of ambiguous numbers]] |
||
| plants |
| plants |
||
| plant = [[Category:Plant common |
| plant = [[Category:Plant common name disambiguation pages]] |
||
| roaddis |
| roaddis |
||
| roads |
| roads |
||
| road = [[Category: |
| road = [[Category:Road disambiguation pages]] |
||
| schooldis |
| schooldis |
||
| schools |
| schools |
||
Line 73: | Line 76: | ||
| university |
| university |
||
| universities |
| universities |
||
| school = [[Category:Educational institution disambiguation]] |
| school = [[Category:Educational institution disambiguation pages]] |
||
| tndis = [[Category:Title and name disambiguation pages]] |
|||
| political |
| political |
||
| party = [[Category:Political party disambiguation pages]] |
| party = [[Category:Political party disambiguation pages]] |
||
| genus = [[Category:Genus disambiguation pages]] |
|||
| ship = [[Category:Ship disambiguation pages]] |
|||
| = <!-- 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 --> |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
|||
⚫ | |||
{{documentation}} |
|||
⚫ | |||
</noinclude> |
</noinclude> |
Latest revision as of 21:39, 13 November 2017
This template is used on 165,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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):
- airport: for Category:Airport disambiguation
- bird: for Category:Bird common name disambiguation pages
- callsign: for Category:Broadcast call sign disambiguation pages
- caselaw: for Category:Case law disambiguation pages
- chinese: for Category:Disambiguation pages with Chinese character titles
- church: for Category:Church building disambiguation pages
- fish: for Category:Fish common name disambiguation pages
- genus: for Category:Genus disambiguation pages
- geo: for Category:Place name disambiguation pages
- given name: Category:Disambiguation pages with given-name-holder lists
- 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:Mathematics disambiguation pages
- number: for Category:Lists of ambiguous numbers
- plant: for Category:Plant common name disambiguation pages
- political: for Category:Political party disambiguation pages
- road: for Category:Road disambiguation pages
- school: for Category:Educational institution disambiguation pages
- ship: for Category:Ship disambiguation pages
- surname: for Category:Disambiguation pages with surname-holder lists
- 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: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.