Difference between revisions of "Template:Location/CA"

From Geohashing
(https://www.qp.alberta.ca/documents/Orders/Orders_in_Council/2021/2021_121.html)
m (Nomenclature)
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.
Line 5: Line 5:
 
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 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.
  
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==

Revision as of 22:43, 3 September 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 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 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