Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  





3 Errors  





4 Tracking categories  





5 Development  





6 See also  














Template:CanadaByProvinceCatNav






تۆرکجه
فارسی

Tiếng Vit
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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: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

    TOTAL 9,080

    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


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:CanadaByProvinceCatNav&oldid=917987580"

    Categories: 
    Lua-based templates
    Canada category header templates
    Hidden category: 
    Wikipedia template-protected templates
     



    This page was last edited on 26 September 2019, at 13:04 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki