Template:Disambiguation/cat/doc: Difference between revisions

From CAPipedia
No edit summary
m (Text replacement - "Wikipedia[^:]" to "CAPipedia")
 
Line 42: Line 42:


== Error reporting ==
== 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.
If an invalid parameter is fed to this template it displays an error message and categorizes the page into [[:Category:CAPipediadisambig 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.


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia metatemplates]]
[[Category:CAPipediametatemplates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 15:48, 23 January 2024

[[Category:Template documentation pages{{#translation:}}]]

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 values (along with their aliases, listed in round brackets) for the categories in this template are as follows:

Maintenance disambiguation pages
CAP functional area disambiguation pages
Place name disambiguation pages‎
Other disambiguation pages

This list is currently complete as of 12 January 2024, but we still 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:CAPipediadisambig 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.