සැකිල්ල:CanadaByProvinceCatNav/doc
This is a documentation subpage for සැකිල්ල:CanadaByProvinceCatNav. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
මෙම සැකිල්ල පිටු 9,300 පමණ භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
A category navigation template, designed to be used on any by-province-or-territory category for any of the 13 current Provinces and territories of Canada.
It creates a navbox with links to identically-named categories for other provinces and territories. For example, on Category:History of Quebec, it creates links to Category:History of Alberta, Category:History of British Columbia etc.
Non-existent categories are not linked. Instead, they are listed in grey, i.e. greyed out.
If there are no navigable links, the navbox will not be displayed, and the page will be categorised in Category:CanadaByProvinceCatNav with all grey links.
Usage
සංස්කරණය{{CanadaByProvinceCatNav}}
No parameters are available.
Examples
සංස්කරණයSee the template in use on e.g.
- Category:Prince Edward Island
- Category:Referendums in Quebec
- Category:Death in Saskatchewan
- Category:Landforms of Ontario
- Category:Churches in Nunavut
- Category:History of Manitoba
- Category:Culture of Alberta
- Category:Museums in Yukon
- Category:Fjords of British Columbia
- Category:People murdered in Nova Scotia
- Category:Bus transport in New Brunswick
- Category:Newfoundland and Labrador-related lists
- Category:Writers from the Northwest Territories
Errors
සංස්කරණයIf the template is used on page which is not a category, or on a category page whose title does not include a valid province or territory of Canada, then no navbox is built. an error message is displayed, and the page is categorised in Category:CanadaByProvinceCatNav on invalid category
Tracking categories
සංස්කරණය- Category:CanadaByProvinceCatNav on invalid category (population: 0)
- Category:CanadaByProvinceCatNav with no grey links (population: 0)
- Category:CanadaByProvinceCatNav with fewer than 5 grey links (population: 0)
- Category:CanadaByProvinceCatNav with over 5 grey links (population: 6)
- Category:CanadaByProvinceCatNav with 10 or more grey links (population: 5)
- Category:CanadaByProvinceCatNav with all grey links (population: 9)
- TOTAL 20
Purge this page to update those counts.
Development
සංස්කරණයThis template was adapted in September 2019 from {{AllIrelandByCountyCatNav}}, which began 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.
See also
සංස්කරණය