الگو:ناوبری همه ردههای ایرلند بر پایه شهرستان
این الگو از لوآ استفاده میکند: |
این الگو در نزدیک به ۲٬۲۰۰ صفحه بهکار رفته است و تغییر دادن آن میتواند تأثیرات گستردهای داشتهباشد. لطفاً تغییرات را در زیرصفحههای /تمرین یا /آزمایشی الگو، یا در زیرصفحهٔ کاربری خودتان بیازمایید. توصیه میشود که ابتدا در خصوص تغییرات مورد نظر در صفحهٔ بحث گفتگو کرده و سپس آنها را پیادهسازی کنید. |
A category navigation template, designed to be used on by-county categories for any of the 32 "traditional" شهرستانهای ایرلند, plus the new counties created by the 1992 subdivision of County Dublin: Category:Dún Laoghaire–Rathdown, , 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 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: ۰)
- Category:AllIrelandByCountyCatNav with no grey links (population: ۰)
- Category:AllIrelandByCountyCatNav with all grey links (population: ۰)
- Category:AllIrelandByCountyCatNav with over 25 grey links (population: ۰)
- Category:AllIrelandByCountyCatNav with over 15 grey links (population: ۰)
- Category:AllIrelandByCountyCatNav with over 5 grey links (population: ۰)
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.