Template:Category disambiguation/doc
Appearance
This is a documentation subpage for Template:Category disambiguation. It may contain usage information, categories and other content that is not part of the original template page. |
This template should not be substituted. |
Usage
[change source]To disambiguate between Category:Eremophila (bird) and Category:Eremophila (plant), simply add the following to Category:Eremophila:
{{Category disambiguation|the bird genus|Eremophila (bird)|the plant genus|Eremophila (plant)}}
The template expects at least four parameters (two description/category pairs), but can accommodate up to 100 parameters (50 description/category pairs).
Note that since a tweak in July 2020, this template trims leading and trailing whitespace from its parameters. This allows the use of a more readable multi-line layout. The example above can now be written as:
{{Category disambiguation | the bird genus | Eremophila (bird) | the plant genus | Eremophila (plant) }}
... or, if you prefer
{{Category disambiguation | the bird genus | Eremophila (bird) | the plant genus | Eremophila (plant) }}
Categorisation
[change source]This template automatically categorises category namespace pages into Category:Disambiguation categories. If the category isn't empty, it also categorizes it into Category:Non-empty disambiguation categories.
Related pages
[change source]- Template:Category redirect
- Category:Wikipedia category-disambiguation box parameter needs fixing - hidden/maintenance category