Difference between revisions of "Template:Location/CA"

From Geohashing
(Subdivisions of Manitoba)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>Use <code><nowiki>{{</nowiki>[[Template:location|location]]<nowiki>|CA}}</nowiki></code> to tag [[expedition]]s that took place in [[Canada]]. It will add [[:Category:Expeditions in Canada]] to the expedition.
+
<noinclude>Use <code><nowiki>{{</nowiki>[[Template:location|location]]<nowiki>|CA}}</nowiki></code> to tag [[expedition]]s that took place in [[Canada]]. It will add [[:Category:Meetup in Canada]] to the expedition.
  
 
Using [[wikipedia:ISO 3166-2:CA|ISO 3166-2]] abbreviations, you may also tag the province/territory that the expedition took place in. Those abbreviations correspond to the abbreviations used by Canada Post and [[wikipedia:Canadian Internet Registration Authority|CIRA]], with the exception of <code>YK</code> being used for Yukon by CIRA and <code>YT</code> being used by others. Both <code>YK</code> and <code>YT</code> can be used with this template.
 
Using [[wikipedia:ISO 3166-2:CA|ISO 3166-2]] abbreviations, you may also tag the province/territory that the expedition took place in. Those abbreviations correspond to the abbreviations used by Canada Post and [[wikipedia:Canadian Internet Registration Authority|CIRA]], with the exception of <code>YK</code> being used for Yukon by CIRA and <code>YT</code> being used by others. Both <code>YK</code> and <code>YT</code> can be used with this template.
  
You can also tag a more local subdivision inside of all provinces and territories except for Yukon and Manitoba, because for them OpenStreetMap does not have data yet. The type of subdivision varies, it may be called a Regional District, a County or something else. Some of them have [http://www.statoids.com/yca.html HASC codes], use them in that case. For other subdivisions without HASC codes, this template establishes codes of its own.
+
You can also tag a more local subdivision inside of all provinces and territories except for Yukon, because OpenStreetMap does not have data for Yukon subdivisions yet. The type of subdivision varies, it may be called a Regional District, a County or something else. Some of them have [http://www.statoids.com/yca.html HASC codes], use them in that case. For other subdivisions without HASC codes, this template establishes codes of its own.
  
If the category link appears red, do not worry and create the category. Make sure that it is included in the appropriate parent category, for instance, [[:Category:Expeditions in the Metro Vancouver Regional District]] is a subcategory of [[:Category:Expeditions in British Columbia]] which is a subcategory of [[:Category:Expeditions in Canada]]. The subcategories should be sorted in by their respective code.
+
If the category link appears red, do not worry and create the category. Make sure that it is included in the appropriate parent category, for instance, [[:Category:Meetup in the Metro Vancouver Regional District]] is a subcategory of [[:Category:Meetup in British Columbia]] which is a subcategory of [[:Category:Meetup in Canada]]. The subcategories should be sorted in by their respective code.
  
 
==Examples==
 
==Examples==
Line 52: Line 52:
 
     |ID12=Improvement District No. 12
 
     |ID12=Improvement District No. 12
 
     |ID24=Improvement District No. 24
 
     |ID24=Improvement District No. 24
    |ID349=Improvement District No. 349
 
 
     |JA=Jasper, Alberta
 
     |JA=Jasper, Alberta
 
     |KA=the Kananaskis Improvement District
 
     |KA=the Kananaskis Improvement District
Line 138: Line 137:
 
     |TN=the Thompson-Nicola Regional District
 
     |TN=the Thompson-Nicola Regional District
 
}}
 
}}
|MB=Manitoba
+
|MB={{#switch:{{{2}}}
 +
    |#default=Manitoba
 +
    |1=the Eastern Manitoba Census Division
 +
    |2=the Steinbach Census Division
 +
    |3=the Pembina Valley Census Division
 +
    |4=the Pilot Mound Census Division
 +
    |5=the Southwest Manitoba Census Division
 +
    |6=the Virden Census Division
 +
    |7=the Brandon Census Division
 +
    |8=the Central Manitoba Census Division
 +
    |9=the Portage la Prairie Census Division
 +
    |10=the Whitehorse Plains Census Division
 +
    |11=the Winnipeg Census Division
 +
    |12=the Beausejour Census Division
 +
    |13=the Selkirk Census Division
 +
    |14=the South Interlake Census Division
 +
    |15=the Western Manitoba Census Division
 +
    |16=the Roblin, Russell, Rossburn Census Division
 +
    |17=the Dauphin Census Division
 +
    |18=the North Interlake Census Division
 +
    |19=the North East Manitoba Census Division
 +
    |20=the Swan River Census Division
 +
    |21=the Flin Flon and Northwest Manitoba Census Division
 +
    |22=the Thompson and North Central Manitoba Census Division
 +
    |23=the Churchill and Northern Manitoba Census Division
 +
}}
 
|NB={{#switch:{{{2}}}
 
|NB={{#switch:{{{2}}}
 
     |#default=New Brunswick
 
     |#default=New Brunswick
Line 185: Line 209:
 
|NT={{#switch:{{{2}}}
 
|NT={{#switch:{{{2}}}
 
     |#default=the Northwest Territories
 
     |#default=the Northwest Territories
    |BE=the Behchokǫ̀ Region
 
 
     |DE=the Dehcho Region
 
     |DE=the Dehcho Region
 
     |IN=the Inuvik Region
 
     |IN=the Inuvik Region

Latest revision as of 12:30, 31 October 2022

Use {{location|CA}} to tag expeditions that took place in Canada. It will add Category:Meetup in Canada to the expedition.

Using ISO 3166-2 abbreviations, you may also tag the province/territory that the expedition took place in. Those abbreviations correspond to the abbreviations used by Canada Post and CIRA, with the exception of YK being used for Yukon by CIRA and YT being used by others. Both YK and YT can be used with this template.

You can also tag a more local subdivision inside of all provinces and territories except for Yukon, because OpenStreetMap does not have data for Yukon subdivisions yet. The type of subdivision varies, it may be called a Regional District, a County or something else. Some of them have HASC codes, use them in that case. For other subdivisions without HASC codes, this template establishes codes of its own.

If the category link appears red, do not worry and create the category. Make sure that it is included in the appropriate parent category, for instance, Category:Meetup in the Metro Vancouver Regional District is a subcategory of Category:Meetup in British Columbia which is a subcategory of Category:Meetup in Canada. The subcategories should be sorted in by their respective code.

Examples

  • {{location|CA}}: Canada
  • {{location|CA|ON}}: Ontario
  • {{location|CA|ON|TO}}: Toronto
  • {{location|CA|QC}}: Québec
  • {{location|CA|QC|06}}: Région de Montréal
  • {{location|CA|BC}}: British Columbia
  • {{location|CA|BC|MV}}: the Metro Vancouver Regional District
  • {{location|CA|YT}}: Yukon
  • {{location|CA|YK}}: Yukon