Difference between revisions of "Template:AllIrelandByCountyCatNav/doc"
blackwiki>John of Reading m (Typo fixing, replaced: is is → is, typo(s) fixed: a a → a (2)) |
blackwiki>BrownHairedGirl ({{High-use|2170 }}) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Lua|Module:IrelandByCountyCatNav}} | {{Lua|Module:IrelandByCountyCatNav}} | ||
| + | {{High-use|2170 }} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
A category navigation template, designed to be used on by-county categories for any of the 32 "traditional" [[Counties of Ireland]], plus the new counties created by the 1992 subdivision of County Dublin: [[:Category:Dún Laoghaire–Rathdown]], [[:Category:Fingal]], [[:Category:South Dublin (county)]]. | A category navigation template, designed to be used on by-county categories for any of the 32 "traditional" [[Counties of Ireland]], plus the new counties created by the 1992 subdivision of County Dublin: [[:Category:Dún Laoghaire–Rathdown]], [[:Category:Fingal]], [[:Category:South Dublin (county)]]. | ||
Revision as of 15:59, 22 January 2020
| This is a documentation subpage for Template:AllIrelandByCountyCatNav. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
| 40px | This template is used on approximately 2,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
A category navigation template, designed to be used on by-county categories for any of the 32 "traditional" Counties of Ireland, plus the new counties created by the 1992 subdivision of County Dublin: Category:Dún Laoghaire–Rathdown, Category:Fingal, Category:South Dublin (county).
It creates a navbox with links to identically-named categories for other counties.
So, on Category:History of County Kilkenny, it creates links to Category:History of County Antrim, Category:History of County Armagh etc.
Non-existent categories are not linked. Instead, they are listed in grey.
Northern Ireland and the Republic of Ireland are grouped separately. When the template is used on a category for a county in Northern Ireland, the Northern Ireland counties are listed first. When used on a category for a county in the Republic, the Republic is displayed first.
Usage
{{AllIrelandByCountyCatNav}}
No parameters are available.
Examples
See the template in use on e.g.
Errors
If the template is used on a category whose name does not include a valid Irish county, then an error message is displayed.
Tracking categories
- Category:AllIrelandByCountyCatNav on invalid category (population: Template:PAGESINCATEGORY)
- Category:AllIrelandByCountyCatNav with no grey links (population: Template:PAGESINCATEGORY)
- Category:AllIrelandByCountyCatNav with all grey links (population: Template:PAGESINCATEGORY)
- Category:AllIrelandByCountyCatNav with over 25 grey links (population: Template:PAGESINCATEGORY)
- Category:AllIrelandByCountyCatNav with over 15 grey links (population: Template:PAGESINCATEGORY)
- Category:AllIrelandByCountyCatNav with over 5 grey links (population: Template:PAGESINCATEGORY)
Development
This template started off as a proposal at WP:WikiProject Ireland/CatNavProposal. The idea was refined through discussion at WT:WikiProject Ireland/CatNavProposal, and deployed in May 2018 after a 15-day trial on 150 pages.