Difference between revisions of "Template:Location"

From Geohashing
imported>Fippe
imported>Fippe
Line 21: Line 21:
 
|AO=Angola
 
|AO=Angola
 
|AQ=Antarctica
 
|AQ=Antarctica
|AR=Argentina
+
|AR={{location/AR|{{{2}}}}}
 
|AS=American Samoa
 
|AS=American Samoa
 
|AT={{location/AT|{{{2}}}|{{{3}}}}}
 
|AT={{location/AT|{{{2}}}|{{{3}}}}}
Line 33: Line 33:
 
|BE={{location/BE|{{{2}}}}}
 
|BE={{location/BE|{{{2}}}}}
 
|BF=Burkina Faso
 
|BF=Burkina Faso
|BG=Bulgaria
+
|BG={{location/BG|{{{2}}}}}
 
|BH=Bahrain
 
|BH=Bahrain
 
|BI=Burundi
 
|BI=Burundi
Line 42: Line 42:
 
|BO=Bolivia
 
|BO=Bolivia
 
|BQ=the Caribbean Netherlands
 
|BQ=the Caribbean Netherlands
|BR=Brazil
+
|BR={{location/BR|{{{2}}}}}
 
|BS=the Bahamas
 
|BS=the Bahamas
 
|BT=Bhutan
 
|BT=Bhutan
Line 57: Line 57:
 
|CI=Côte d'Ivoire
 
|CI=Côte d'Ivoire
 
|CK=the Cook Islands
 
|CK=the Cook Islands
|CL=Chile
+
|CL={{location/CL|{{{2}}}}}
 
|CM=Cameroon
 
|CM=Cameroon
 
|CN={{location/CN|{{{2}}}}}
 
|CN={{location/CN|{{{2}}}}}
 
|CO=Colombia
 
|CO=Colombia
 
|CR=Costa Rica
 
|CR=Costa Rica
|CU=Cuba
+
|CU={{location/CU|{{{2}}}}}
 
|CV=Cabo Verde
 
|CV=Cabo Verde
 
|CW=Curaçao
 
|CW=Curaçao
 
|CX=Christmas Island
 
|CX=Christmas Island
|CY=Cyprus
+
|CY={{location/CY|{{{2}}}}}
|CZ=Czechia
+
|CZ={{location/CZ|{{{2}}}|{{{3}}}}}
 
|DE={{location/DE|{{{2}}}|{{{3}}}|city={{{city}}}}}
 
|DE={{location/DE|{{{2}}}|{{{3}}}|city={{{city}}}}}
 
|DJ=Djibouti
 
|DJ=Djibouti
Line 188: Line 188:
 
|PF=French Polynesia
 
|PF=French Polynesia
 
|PG=Papua New Guinea
 
|PG=Papua New Guinea
|PH=Philippines
+
|PH=the Philippines
 
|PK=Pakistan
 
|PK=Pakistan
 
|PL=Poland
 
|PL=Poland

Revision as of 14:55, 2 June 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