Template:Disambiguation/cat/doc: Difference between revisions

Updating the doc since this template has been moved. And adding {{high-risk| 100,000+}}.
m (moved Template:Dabcat/doc to Template:Disambig/cat/doc: dependant on Template:Disambig, so move to subpage)
(Updating the doc since this template has been moved. And adding {{high-risk| 100,000+}}.)
Line 1:
{{Documentationdocumentation subpage}}
{{high-risk| 100,000+}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
This is the {{tl|dabcatdisambig/cat}} metasub-template.
 
ItDo isnot intendeduse tothis betemplate useddirectly, inside theuse {{tl|disambig}} templateinstead.
 
This template is called from {{tlf|disambig}}. It handles some of the categorization logic for {{tlf|disambig}}.
=== Usage ===
 
For more documentation see {{tl|disambig}}.
 
=== UsageParameters ===
 
This template takes one parameter and produces a category assignment dependent on that parameter.
 
RecommendedThe main parameter valuesvalue for some of the categories in this template are as follows (some other variants will also work):
 
*hn: for [[:Category:Human name disambiguation pages]]
*surname: for [[:Category:Surnames]]
*given name: [[:Category:Given names]]
*geo: for [[:Category:Place name disambiguation pages]]
*mountain: for [[:Category:Disambiguation lists of mountains]]
*airport: for [[:Category:Airport disambiguation]]
*hospital: for [[:Category:Lists of ambiguous hospital names]]
Line 25 ⟶ 30:
*callsign: for [[:Category:Broadcast call sign disambiguation pages]]
 
This list is often not complete, since we add new categories to this template every now and then.
=== Error reporting ===
 
=== Error reporting ===
If/when an invalid parameter is fed to this template it prints an error message and categorises 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.
 
=== See also ===
 
If/when an invalid parameter is fed to this template it prints an error message and categorisescategorizes 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.
* {{tl|disambig}}
 
<includeonly>
Anonymous user