Difference between revisions of "Template:Location"

From Geohashing
imported>Fippe
(Examples: Find more examples for your country at your country's location template.)
imported>Fippe
(Defined DO, JO, SY, TH, NG, PK, VE)
Line 59: Line 59:
 
|DJ=Djibouti
 
|DJ=Djibouti
 
|DM=Dominica
 
|DM=Dominica
|DO=the Dominican Republic
 
 
|DZ=Algeria
 
|DZ=Algeria
 
|EC=Ecuador
 
|EC=Ecuador
Line 96: Line 95:
 
|IR=Iran
 
|IR=Iran
 
|JM=Jamaica
 
|JM=Jamaica
|JO=Jordan
 
 
|KE=Kenya
 
|KE=Kenya
 
|KG=Kyrgyzstan
 
|KG=Kyrgyzstan
Line 134: Line 132:
 
|NE=Niger
 
|NE=Niger
 
|NF=Norfolk Island
 
|NF=Norfolk Island
|NG=Nigeria
 
 
|NI=Nicaragua
 
|NI=Nicaragua
 
|NR=Nauru
 
|NR=Nauru
Line 143: Line 140:
 
|PF=French Polynesia
 
|PF=French Polynesia
 
|PG=Papua New Guinea
 
|PG=Papua New Guinea
|PK=Pakistan
 
 
|PM=Saint Pierre and Miquelon
 
|PM=Saint Pierre and Miquelon
 
|PN=the Pitcairn Islands
 
|PN=the Pitcairn Islands
Line 165: Line 161:
 
|SV=El Salvador
 
|SV=El Salvador
 
|SX=Sint Maarten
 
|SX=Sint Maarten
|SY=Syria
 
 
|SZ=Eswatini
 
|SZ=Eswatini
 
|TC=the Turks and Caicos Islands
 
|TC=the Turks and Caicos Islands
Line 171: Line 166:
 
|TF=French Southern and Antarctic Lands
 
|TF=French Southern and Antarctic Lands
 
|TG=Togo
 
|TG=Togo
|TH=Thailand
 
 
|TK=Tokelau
 
|TK=Tokelau
 
|TL=Timor-Leste
 
|TL=Timor-Leste
Line 186: Line 180:
 
|VA=Vatican City
 
|VA=Vatican City
 
|VC=Saint Vincent and the Grenadines
 
|VC=Saint Vincent and the Grenadines
|VE=Venezuela
 
 
|VG=the British Virgin Islands
 
|VG=the British Virgin Islands
 
|VI=the United States Virgin Islands
 
|VI=the United States Virgin Islands

Revision as of 21:14, 2 July 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

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