Template:Category disambiguation
Revision as of 04:36, 10 July 2020 by Wikipedia>BrownHairedGirl (allow multi-line layout of wikicode, by wrapping each parameter in {{Trim}}. Tested at Category:YYYY in Ireland)
![]() | This template should not be substituted. |
Usage
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
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.
See also
- Template:Category redirect
- Category:Wikipedia category-disambiguation box parameter needs fixing - hidden/maintenance category