Difference between revisions of "Template:Location"
imported>Fippe |
imported>Fippe |
||
Line 70: | Line 70: | ||
|DE={{location/DE|{{{2}}}|{{{3}}}|city={{{city}}}}} | |DE={{location/DE|{{{2}}}|{{{3}}}|city={{{city}}}}} | ||
|DJ=Djibouti | |DJ=Djibouti | ||
− | |DK= | + | |DK={{location/DK|{{{2}}}}} |
|DM=Dominica | |DM=Dominica | ||
|DO=the Dominican Republic | |DO=the Dominican Republic | ||
|DZ=Algeria | |DZ=Algeria | ||
|EC=Ecuador | |EC=Ecuador | ||
− | |EE= | + | |EE={{location/EE|{{{2}}}}} |
|EG=Egypt | |EG=Egypt | ||
|EH=Western Sahara | |EH=Western Sahara | ||
Line 100: | Line 100: | ||
|GP=Guadeloupe | |GP=Guadeloupe | ||
|GQ=Equatorial Guinea | |GQ=Equatorial Guinea | ||
− | |GR= | + | |GR={{location/GR|{{{2}}}}} |
|GS=South Georgia and the South Sandwich Islands | |GS=South Georgia and the South Sandwich Islands | ||
|GT=Guatemala | |GT=Guatemala | ||
Line 109: | Line 109: | ||
|HM=Heard Island and McDonald Islands | |HM=Heard Island and McDonald Islands | ||
|HN=Honduras | |HN=Honduras | ||
− | |HR= | + | |HR={{location/HR|{{{2}}}}} |
|HT=Haiti | |HT=Haiti | ||
− | |HU= | + | |HU={{location/HU|{{{2}}}}} |
− | |ID= | + | |ID={{location/ID|{{{2}}}|{{{3}}}}} |
− | |IE= | + | |IE={{location/IE|{{{2}}}|{{{3}}}}} |
|IL={{location/IL|{{{2}}}|{{{3}}}}} | |IL={{location/IL|{{{2}}}|{{{3}}}}} | ||
|IM=the Isle of Man | |IM=the Isle of Man |
Revision as of 22:21, 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