Difference between revisions of "Template:Disambig/cat"

From Self-sufficiency
Jump to: navigation, search
(Adding error reporting when invalid parameter is fed. (Well tested approach, we have used it for instance for the mboxes to good effect.))
m (27 revisions from wikipedia:Template:Disambig/cat)
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
+
{{#switch:{{lc:{{{1|}}}}}
| airport
+
| split      = [[Category:Disambiguation pages in need of being split]]
| airports   = [[Category:Airport disambiguation]]
+
| clean up
| geo
+
| clean-up
 +
| cleanup    = [[Category:Disambiguation pages in need of cleanup]]
 +
| airports
 +
| airport    = [[Category:Airport disambiguation]]
 +
| call sign
 +
| call signs
 +
| broadcast call sign
 +
| broadcast call signs
 +
| callsign  = [[Category:Broadcast call sign disambiguation pages]]
 +
| chinese char
 +
| chinese-char
 +
| chinesechar
 +
| chinese character
 +
| chinese    = [[Category:Disambiguation pages with Chinese character titles]]
 +
| churches
 +
| church building
 +
| church buildings
 +
| church    = [[Category:Church building disambiguation pages]]
 +
| fish      = [[Category:Fish common names]]
 
| geodis
 
| geodis
 +
| geography
 +
| geographical
 +
| place name
 +
| place names
 
| place
 
| place
| places     = [[Category:Place name disambiguation pages]]
+
| places
 +
| geo        = [[Category:Place name disambiguation pages]]
 
| name
 
| name
 
| names
 
| names
| hn
+
| human name
| hndis     = [[Category:Human name disambiguation pages]]
+
| human names
 +
| hndis
 +
| hn        = [[Category:Human name disambiguation pages]]
 +
| surnames
 
| surname    = [[Category:Surnames]]
 
| surname    = [[Category:Surnames]]
 +
| given names
 
| given name = [[Category:Given names]]
 
| given name = [[Category:Given names]]
| hospital
+
| hospital name
| hospitals = [[Category:Lists of ambiguous hospital names]]
+
| hospital names
| math
+
| hospitals
 +
| hospital  = [[Category:Lists of ambiguous hospital names]]
 +
| latin name
 +
| latin names
 +
| latin      = [[Category:Latin name disambiguation pages]]
 +
| letter-number
 +
| letter number = [[Category:Letter-number combination disambiguation pages]]
 +
| mathdab
 
| maths
 
| maths
| mathdab    = [[Category:Mathematical disambiguation]]
+
| mathematics
| mountain
+
| mathematical
| mountains  = [[Category:Disambiguation lists of mountains]]
+
| math      = [[Category:Mathematical disambiguation]]
| number
+
| molecular formula
 +
| molform    = [[Category:Molecular formula disambiguation pages]][[Category:Molecular formulas]]
 +
| numberdis
 
| numbers
 
| numbers
| numberdis  = [[Category:Lists of ambiguous numbers]]
+
| ambiguous number
| road
+
| ambiguous numbers
 +
| number    = [[Category:Lists of ambiguous numbers]]
 +
| plants
 +
| plant      = [[Category:Plant common names]]
 +
| roaddis
 
| roads
 
| roads
| roaddis    = [[Category:Lists of roads sharing the same title]]
+
| road      = [[Category:Lists of roads sharing the same title]]
| school
+
| schooldis
 
| schools
 
| schools
| schooldis  = [[Category:Educational institution disambiguation]]
+
| educational institution
|            =   <!-- No value fed, is also valid input -->
+
| educational institutions
| #default  = <div style="text-align: center;">This disambiguation box is using an invalid category parameter "{{{1|}}}" and needs fixing. <small>([[Template:Dabcat|learn more]])</small></div>[[Category:Wikipedia disambiguation box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
+
| college
 +
| colleges
 +
| university
 +
| universities
 +
| school    = [[Category:Educational institution disambiguation]]
 +
|            = <!-- 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>
 
}}<noinclude>
  
{{pp-semi-template|small=yes}}
+
{{pp-template}}
 
{{documentation}}
 
{{documentation}}
<!-- Add template categories and interwikis to the /doc subpage, not here! -->
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 19:34, 21 September 2010