Difference between revisions of "Template:Location"

From Geohashing
imported>Fippe
(Defined DO, JO, SY, TH, NG, PK, VE)
m (Subtemplates already exist)
Line 22: Line 22:
 
|AM=Armenia
 
|AM=Armenia
 
|AO=Angola
 
|AO=Angola
|AQ=Antarctica
 
 
|AS=American Samoa
 
|AS=American Samoa
 
|AW=Aruba
 
|AW=Aruba
Line 128: Line 127:
 
|MW=Malawi
 
|MW=Malawi
 
|MZ=Mozambique
 
|MZ=Mozambique
|NA=Namibia
 
 
|NC=New Caledonia
 
|NC=New Caledonia
 
|NE=Niger
 
|NE=Niger
Line 137: Line 135:
 
|OM=Oman
 
|OM=Oman
 
|PA=Panama
 
|PA=Panama
|PE=Peru
 
 
|PF=French Polynesia
 
|PF=French Polynesia
 
|PG=Papua New Guinea
 
|PG=Papua New Guinea
Line 176: Line 173:
 
|UG=Uganda
 
|UG=Uganda
 
|UM=the United States Minor Outlying Islands
 
|UM=the United States Minor Outlying Islands
|UY=Uruguay
 
 
|UZ=Uzbekistan
 
|UZ=Uzbekistan
 
|VA=Vatican City
 
|VA=Vatican City
Line 186: Line 182:
 
|WF=Wallis and Futuna
 
|WF=Wallis and Futuna
 
|WS=Samoa
 
|WS=Samoa
|XI=international waters
 
 
|XK=Kosovo
 
|XK=Kosovo
 
|YE=Yemen
 
|YE=Yemen

Revision as of 11:10, 14 July 2020

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

Find more examples for your country at your country's location template.