Difference between revisions of "Template:Location"

From Geohashing
imported>Fippe
(clean-up)
imported>Fippe
(Defined KH, LI, LT, LU, LV, MA, MT, MY, NO, NP, NZ, PH, PL, PR, PS, PT, RO, RS, SE, SG, SI, SK, TJ, TN, TR, UA, ZA)
Line 98: Line 98:
 
|KE=Kenya
 
|KE=Kenya
 
|KG=Kyrgyzstan
 
|KG=Kyrgyzstan
|KH=Cambodia
 
 
|KI=Kiribati
 
|KI=Kiribati
 
|KM=Comoros
 
|KM=Comoros
Line 109: Line 108:
 
|LB=Lebanon
 
|LB=Lebanon
 
|LC=Saint Lucia
 
|LC=Saint Lucia
|LI=Liechtenstein
 
 
|LK=Sri Lanka
 
|LK=Sri Lanka
 
|LR=Liberia
 
|LR=Liberia
 
|LS=Lesotho
 
|LS=Lesotho
|LT=Lithuania
 
|LU=Luxembourg
 
|LV=Latvia
 
 
|LY=Libya
 
|LY=Libya
|MA=Morocco
 
 
|MC=Monaco
 
|MC=Monaco
 
|MD=Moldova
 
|MD=Moldova
Line 131: Line 125:
 
|MR=Mauritania
 
|MR=Mauritania
 
|MS=Montserrat
 
|MS=Montserrat
|MT=Malta
 
 
|MU=Mauritius
 
|MU=Mauritius
 
|MV=Maldives
 
|MV=Maldives
 
|MW=Malawi
 
|MW=Malawi
|MY=Malaysia
 
 
|MZ=Mozambique
 
|MZ=Mozambique
 
|NA=Namibia
 
|NA=Namibia
Line 143: Line 135:
 
|NG=Nigeria
 
|NG=Nigeria
 
|NI=Nicaragua
 
|NI=Nicaragua
|NO=Norway
 
|NP=Nepal
 
 
|NR=Nauru
 
|NR=Nauru
 
|NU=Niue
 
|NU=Niue
|NZ=New Zealand
 
 
|OM=Oman
 
|OM=Oman
 
|PA=Panama
 
|PA=Panama
Line 153: Line 142:
 
|PF=French Polynesia
 
|PF=French Polynesia
 
|PG=Papua New Guinea
 
|PG=Papua New Guinea
|PH=the Philippines
 
 
|PK=Pakistan
 
|PK=Pakistan
|PL=Poland
 
 
|PM=Saint Pierre and Miquelon
 
|PM=Saint Pierre and Miquelon
 
|PN=the Pitcairn Islands
 
|PN=the Pitcairn Islands
|PR=Puerto Rico
 
|PS=Palestine
 
|PT=Portugal
 
 
|PW=Palau
 
|PW=Palau
 
|PY=Paraguay
 
|PY=Paraguay
 
|QA=Qatar
 
|QA=Qatar
 
|RE=Réunion
 
|RE=Réunion
|RO=Romania
 
|RS=Serbia
 
 
|RW=Rwanda
 
|RW=Rwanda
 
|SA=Saudi Arabia
 
|SA=Saudi Arabia
Line 172: Line 154:
 
|SC=Seychelles
 
|SC=Seychelles
 
|SD=Sudan
 
|SD=Sudan
|SE=Sweden
 
|SG=Singapore
 
 
|SH=Saint Helena, Ascension and Tristan da Cunha
 
|SH=Saint Helena, Ascension and Tristan da Cunha
|SI=Slovenia
 
|SK=Slovakia
 
 
|SL=Sierra Leone
 
|SL=Sierra Leone
 
|SM=San Marino
 
|SM=San Marino
Line 193: Line 171:
 
|TG=Togo
 
|TG=Togo
 
|TH=Thailand
 
|TH=Thailand
|TJ=Tajikistan
 
 
|TK=Tokelau
 
|TK=Tokelau
 
|TL=Timor-Leste
 
|TL=Timor-Leste
 
|TM=Turkmenistan
 
|TM=Turkmenistan
|TN=Tunisia
 
 
|TO=Tonga
 
|TO=Tonga
|TR=Turkey
 
 
|TT=Trinidad and Tobago
 
|TT=Trinidad and Tobago
 
|TV=Tuvalu
 
|TV=Tuvalu
 
|TW=Taiwan
 
|TW=Taiwan
 
|TZ=Tanzania
 
|TZ=Tanzania
|UA=Ukraine
 
 
|UG=Uganda
 
|UG=Uganda
 
|UM=the United States Minor Outlying Islands
 
|UM=the United States Minor Outlying Islands
Line 222: Line 196:
 
|YE=Yemen
 
|YE=Yemen
 
|YT=Mayotte
 
|YT=Mayotte
|ZA=South Africa
 
 
|ZM=Zambia
 
|ZM=Zambia
 
|ZW=Zimbabwe
 
|ZW=Zimbabwe
 
}}}}]]</includeonly>
 
}}}}]]</includeonly>

Revision as of 23:36, 7 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