Difference between revisions of "Template:Location"

From Geohashing
imported>Fippe
imported>Fippe
Line 122: Line 122:
 
|IS={{location/IS|{{{2}}}}}
 
|IS={{location/IS|{{{2}}}}}
 
|IT={{location/IT|{{{2}}}}}
 
|IT={{location/IT|{{{2}}}}}
|JE=Jersey
+
|JE={{location/JE|{{{2}}}}}
 
|JM=Jamaica
 
|JM=Jamaica
 
|JO=Jordan
 
|JO=Jordan
Line 161: Line 161:
 
|MO=Macau
 
|MO=Macau
 
|MP=the Northern Mariana Islands
 
|MP=the Northern Mariana Islands
|MQ=Martinique
+
|MQ={{location/MQ|{{{2}}}}}
 
|MR=Mauritania
 
|MR=Mauritania
 
|MS=Montserrat
 
|MS=Montserrat
Line 212: Line 212:
 
|SH=Saint Helena, Ascension and Tristan da Cunha
 
|SH=Saint Helena, Ascension and Tristan da Cunha
 
|SI=Slovenia
 
|SI=Slovenia
|SJ=Svalbard and Jan Mayen
+
|SJ={{location/SJ|{{{2}}}}}
 
|SK=Slovakia
 
|SK=Slovakia
 
|SL=Sierra Leone
 
|SL=Sierra Leone

Revision as of 20:17, 19 May 2019

Use {{location}} to tag expeditions by their location. It will add a subcategory of Category:Expeditions by location to the expedition.

For countries, use ISO 3166-1 alpha-2 codes. This template regards anything a country that is assigned such a code. Use XI for international waters. For some countries, you can also tag subdivisions or even subsubdivisions. See the templates in Category:Location templates for countries where these codes are defined and how to use them. Feel free to add a template for subdivision codes of a new country.

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 Germany is a subcategory of Category:Expeditions by location. The subcategories should be sorted in by their respective code.

Examples

  • {{location}}: an unknown location (Comment: Do not use this)
  • {{location|AD}}: Andorra
  • {{location|XI}}: international waters