Template:Location map/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Location map (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Creates a location map as a composite image of an existing map in equirectangular projection with a marker and an optional label superimposed onto it. Note:

  • Using "caption=xxx" frames the map (empty "caption=" leaves map unframed);
  • The marker/label is not checked for valid latitude/longitude & could land anywhere on the article page, even beyond the bottom;
  • To suppress the marker, set marksize=1 pixel wide.
  • For map "width=250" omit "px" or will stretch across page.
  • To place multiple markers/labels, refer below to: See also.
  • To map along converging longitudes, refer to: Template:Location_map_skew.

Contents

[edit] Usage

{{Location map
|location
|label      = label text
|label_size = map font size, per cent
|position   = left or right or top or bottom or none – 
               position of the label relative to the mark, defaults to right
|background = color, background color for the label, defaults to none 
|lon_dir=W    longitude: W=west, E=east (default)
|lat_dir=S    latitude: S=south, N=north (default)
|lat_deg    = latitude degrees
|lat_min    = latitude minutes
|lat_sec    = latitude seconds
|lon_deg    = longitude degrees
|lon_min    = longitude minutes
|lon_sec    = longitude seconds
|lat        = latitude (decimal format; enter negative numbers for southern latitude)
|long       = longitude (decimal format; enter negative numbers for western longitude)
|mark       = marker image file name, a red dot by default
|marksize   = marker size, default=8
|border     = border color or none
|caption    = map caption; for no caption enter "caption="; if the parameter is omitted then the caption will be "Marker text (location map name)"
|float      = left or right or center or none
|width      = map width (omit "px" or will stretch across page)
|AlternativeMap = Alternative map file name (changes background map, border coordinates are determined based on the map name); this is only recommended for use in templates }}

Parameter location refers to {Template:Location map location} containing the name and coordinates of a map.

[edit] Available maps

List of templates Template:Location map location (without "Template:" prefix here):


Location map Location map+ Location map+/doc
Location map/Info Location map/Temp/Infobox Location map/doc
Location map 100x100 Location map Afghanistan Location map Africa
Location map Albania Location map Algeria
Location map American Samoa
Location map Andorra Location map Angola Location map Anguilla
Location map Argentina Location map Argentina Buenos Aires Location map Argentina Buenos Aires Province
Location map Armenia Location map Aruba Location map Australia
Location map Australia New South Wales Location map Australia Northern Territory Location map Australia Queensland
Location map Australia South Australia Location map Australia Tasmania Location map Australia Victoria
Location map Australian Capital Territory Location map Austria Location map Austria EBEL
Location map Austria topo Location map Azerbaijan Location map Bahrain
Location map Bangladesh Location map Barbados
Location map Belarus Location map Belgium Location map Belize
Location map Benin Location map Bhutan
Location map Bolivia Location map Borneo Topography
Location map Bosnia Location map Botswana
Location map Brazil
Location map Brunei
Location map Bulgaria
Location map Burkina Faso Location map Burma Location map Burundi
Location map Cambodia Location map Cameroon
Location map CanadaGeo Location map CanadaGeo/doc Location map CanadaTerrain
Location map CanadaTerrain/doc Location map Canada British Columbia Location map Canada British Columbia/doc
Location map Canada Calgary Location map Canada Calgary/doc Location map Canada Edmonton
Location map Canada Edmonton/doc Location map Canada Lethbridge Location map Canada Lethbridge/doc
Location map Canada Manitoba Location map Canada Manitoba/doc Location map Canada Montreal
Location map Canada Montreal/doc Location map Canada New Brunswick Location map Canada New Brunswick/doc
Location map Canada Newfoundland Location map Canada Newfoundland/doc Location map Canada Nova Scotia
Location map Canada Nova Scotia/doc Location map Canada Ontario Location map Canada Ontario/doc
Location map Canada Ottawa Location map Canada Ottawa/doc Location map Canada PEI
Location map Canada PEI/doc Location map Canada Saskatchewan Location map Canada Saskatchewan/doc
Location map Canada Vancouver Location map Canada Vancouver/doc Location map Cape Verde
Location map Central African Republic Location map Chad
Location map Chile Location map China
Location map China Guangdong Location map Colombia
Location map Costa Rica
Location map Croatia
Location map Croatia/doc Location map Cuba Location map Cuba1
Location map Cuba1/doc Location map Cuba Havana
Location map Czech Republic Location map Côte d'Ivoire
Location map Democratic Republic of the Congo Location map Denmark
Location map DenmarkCIAx Location map Denmark Faroe Islands
Location map Djibouti
Location map Dominica Location map Dominican Republic
Location map Dubai
Location map Earth
Location map East Timor Location map Ecuador
Location map Egypt
Location map Egypt/doc Location map El Salvador Location map Equatorial Guinea
Location map Eritrea Location map Estonia
Location map Ethiopia Location map European Parliament constituencies 2007
Location map Finland
Location map France Location map France Paris
Location map French Guiana Location map Gabon Location map Gambia
Location map Georgia (country)
Location map Germany Location map Germany2 Location map GermanyCIAx
Location map GermanyCIAx/doc Location map GermanyNeckar Location map GermanyRhine
Location map GermanyWeser Location map Germany Berlin Location map Ghana
Location map Gibraltar
Location map Greece Location map Greece (with prefectures)
Location map Greece Dimos Edessas Location map Greece Dimos Skydras Location map Greenland
Location map Grenada Location map Guam
Location map Guatemala Location map Guayana Location map Guinea
Location map Guinea-Bissau Location map Guyana Location map Haiti
Location map Havana/doc
Location map Honduras Location map Hungary Location map Iceland
Location map India
Location map India Bihar Location map India Chennai Location map India Karnataka
Location map India Kerala Location map India Mumbai Location map India Nagpur
Location map India Orissa Location map India Rajasthan Location map India Tamil Nadu
Location map India Tripura Location map India Uttarakhand
Location map Indonesia Location map Indonesia (provinces) Location map Indonesia Sulawesi Topography
Location map Iran Location map Iraq
Location map Ireland Location map Isle of Man
Location map Israel Location map Italy
Location map Italy2 Location map Italy small Location map Jamaica
Location map Japan Location map Java Topography Location map Jordan
Location map Kazakhstan
Location map Kenya
Location map Kosovo Location map Kuwait
Location map Kyrgyzstan Location map Laos
Location map Latvia Location map Lebanon
Location map Lesotho
Location map Liberia Location map Libya
Location map Lithuania Location map Lithuania2
Location map Madagascar
Location map Malawi Location map Malaysia Location map Mali
Location map Malta Location map Maluku Topography
Location map Marshall islands
Location map Mauritania
Location map Mauritius Location map Mexico
Location map Moldova Location map Mongolia
Location map Montenegro
Location map Morocco Location map Morocco Northern Morocco
Location map Mozambique
Location map Namibia Location map Nepal
Location map Netherlands Location map Netherlands Amsterdam metro station Location map Netherlands Dutch railway station
Location map Netherlands Randstad N Location map Netherlands Randstad NO Location map Netherlands Randstad ZW
Location map New Zealand Location map New Zealand Marlborough
Location map New Zealand North Island Location map New Zealand Northland Location map New Zealand South Island
Location map New Zealand Taranaki Location map New Zealand transparent
Location map Nicaragua Location map Niger
Location map Nigeria Location map Niue
Location map North Korea
Location map Northern Ireland
Location map Norway
Location map Oman
Location map Pakistan Location map Palestine Location map Panama
Location map Papua New Guinea Location map Papua Topography Location map Paraguay
Location map Peru
Location map Philippines Location map Poland Location map Portugal
Location map Portugal Azores Location map Portugal Madeira
Location map Qatar
Location map Republic of Macedonia
Location map Republic of the Congo Location map Romania
Location map Russia Location map Russia Altai Krai
Location map Russia Arkhangelsk Oblast Location map Russia Dagestan Location map Russia Karelia
Location map Russia Krasnodar Krai Location map Russia Leningrad Oblast Location map Russia Lipetsk Oblast
Location map Russia Moscow Oblast Location map Russia Murmansk Oblast Location map Russia Novgorod Oblast
Location map Russia Primorsky Krai Location map Russia Ryazan Oblast Location map Russia Saint Petersburg
Location map Russia Smolensk Oblast Location map Russia Vladimir Oblast Location map Russia Vologda Oblast
Location map Russia Voronezh Oblast Location map Rwanda
Location map Sao Tome and Principe
Location map Saskatchewan/sandbox Location map Saskatchewan/testcases
Location map Saudi Arabia Location map Scotland Location map Scotland mainland
Location map Senegal Location map Serbia Location map Seychelles
Location map Sierra Leone
Location map Slovakia Location map Slovenia Location map Somalia
Location map South Africa
Location map South Korea
Location map Spain Location map Sri Lanka
Location map Sudan
Location map Sumatra Topography Location map Suriname
Location map Swaziland Location map Sweden Location map Sweden/doc
Location map SwedenCIAx Location map SwedenCIAx/doc Location map Switzerland
Location map Switzerland2 Location map Syria Location map TEMP-Japan
Location map Taiwan Location map Tajikistan
Location map Tanzania
Location map Thailand
Location map Togo Location map Trinidad and Tobago
Location map Tunisia Location map Turkey Location map Turkmenistan
Location map UAE Location map USA
Location map USA Alabama Location map USA Alabama/doc Location map USA Alaska
Location map USA Arizona Location map USA Arkansas Location map USA California
Location map USA Colorado Location map USA Connecticut Location map USA Delaware
Location map USA District of Columbia Location map USA Florida Location map USA Georgia
Location map USA Georgia/doc Location map USA Grand Forks Location map USA Hawaii
Location map USA Idaho Location map USA Illinois Location map USA Illinois Peoria County
Location map USA Indiana Location map USA Iowa Location map USA Kansas
Location map USA Kentucky Location map USA Louisiana Location map USA Maine
Location map USA Maryland Location map USA Massachusetts Location map USA Michigan
Location map USA Minnesota Location map USA Mississippi Location map USA Missouri
Location map USA Montana Location map USA Nebraska Location map USA Nevada
Location map USA New Hampshire Location map USA New Jersey Location map USA New Mexico
Location map USA New York Location map USA New York Adirondack Park Location map USA New York City
Location map USA North Carolina Location map USA North Dakota Location map USA Ohio
Location map USA Oklahoma Location map USA Oregon Location map USA Pennsylvania
Location map USA Puerto Rico Location map USA Rhode Island Location map USA South Carolina
Location map USA South Dakota Location map USA Tennessee Location map USA Texas
Location map USA Utah Location map USA Vermont Location map USA Virgin Islands
Location map USA Virginia Location map USA Washington Location map USA West Virginia
Location map USA Wisconsin Location map USA Wyoming
Location map Uganda Location map Ukraine
Location map Ukraine Alushta Location map Ukraine Crimea Location map Ukraine Yalta
Location map United Arab Emirates Location map United Kingdom Location map United Kingdom Bedfordshire
Location map United Kingdom Berkshire Location map United Kingdom Bristol Location map United Kingdom Buckinghamshire
Location map United Kingdom Cambridgeshire Location map United Kingdom Cheshire Location map United Kingdom Cornwall
Location map United Kingdom County Durham Location map United Kingdom Cumbria Location map United Kingdom Derbyshire
Location map United Kingdom Devon Location map United Kingdom Dorset Location map United Kingdom East Riding of Yorkshire
Location map United Kingdom East Sussex Location map United Kingdom Edinburgh Location map United Kingdom Essex
Location map United Kingdom Falkland Islands Location map United Kingdom Forest of Bowland
Location map United Kingdom Gloucestershire Location map United Kingdom Greater Belfast Location map United Kingdom Greater London
Location map United Kingdom Greater London postal Location map United Kingdom Greater Manchester Location map United Kingdom Hampshire
Location map United Kingdom Herefordshire Location map United Kingdom Hertfordshire Location map United Kingdom Isle of Wight
Location map United Kingdom Kent Location map United Kingdom Lancashire Location map United Kingdom Leicestershire
Location map United Kingdom Lincolnshire Location map United Kingdom Manchester Location map United Kingdom Merseyside
Location map United Kingdom Norfolk Location map United Kingdom North Yorkshire Location map United Kingdom Northamptonshire
Location map United Kingdom Northumberland Location map United Kingdom Nottinghamshire Location map United Kingdom Oldham
Location map United Kingdom Outer Hebrides Location map United Kingdom Oxford (central) Location map United Kingdom Oxfordshire
Location map United Kingdom Rutland Location map United Kingdom Sheffield Location map United Kingdom Shropshire
Location map United Kingdom Somerset Location map United Kingdom South Yorkshire Location map United Kingdom Southampton
Location map United Kingdom Staffordshire Location map United Kingdom Suffolk Location map United Kingdom Surrey
Location map United Kingdom Tyne and Wear Location map United Kingdom Wales Dyfed Location map United Kingdom Wales Gwynedd
Location map United Kingdom Warwickshire Location map United Kingdom West Midlands Location map United Kingdom West Sussex
Location map United Kingdom West Yorkshire Location map United Kingdom Wiltshire Location map United Kingdom Worcestershire
Location map Uruguay
Location map Uzbekistan
Location map Venezuela
Location map Vietnam
Location map Western Australia
Location map Western Sahara
Location map Yemen Location map Zambia Location map Zimbabwe
Location map end Location map many Location map many/doc
Location map many polarx Location map marker Location map of
Location map of Iran Location map polarx Location map polarx/doc
Location map skew Location map skew/doc Location map start
Location map~

See also Category:Location map templates (currently very incomplete, but useful for some subcategories).

[edit] Creating new maps

  1. Find an appropriate blank map in equirectangular projection.
  2. Create a template named Template:Location map location (copy the content of any other map template into it and enter appropriate values).

[edit] Examples

[edit] Map with the default caption (degrees/minutes)

Pag (Croatia)
{{Location map
 |Croatia | label=Pag
 |mark=<!--dot-->Green pog.svg
 |lat_deg=44|lat_min=26
 |lon_deg=15|lon_min=3
 |position=right
 |width=300
 |float=right
}}
Pag (Croatia)
Pag
Pag
Pag (Croatia)

[edit] Map with the default caption (coordinates decimal)

Pag (Croatia)
{{Location map | Croatia
 |label=Pag
 |lat= <!--decimal form--> 44.44
 |long=15.05
 |position=right
 |width= <!--smaller--> 200
 |float=right
}}
Pag (Croatia)
Pag
Pag
Pag (Croatia)

[edit] Marker/Label outside of Map

Pag (Croatia)
{{Location map | Croatia
 |label=Pag
 |lat=44.44
 |long=<!--outside map-->11.05
 |position=right
 |width=200
 |float=right
}}
Pag (Croatia)
Pag
Pag
Pag (Croatia)

[edit] Map with a custom caption and text background

Imotski
{{Location map
 |Croatia
 |label=Imotski
 |lat=43.44
 |long=17.21
 |position=right
 |width=300
 |float=right
 |background=#FFFFDD
 |caption=Imotski on the map of Croatia
 }}
Imotsky (Croatia)
Imotsky
Imotsky
Imotski on the map of Croatia

[edit] Map with enlarged marker and label

Pag (Croatia)
{{Location map
 |Croatia
 |label=Pag
 |label_size=200
 |lat=44.44
 |long=15.05
 |marksize=14
 |position=right
 |width=300
 |float=right
 |background=#FFFFDD
 |caption=Pag Island on the map of Croatia
 }}
Pag (Croatia)
Pag
Pag
Pag Island on the map of Croatia

[edit] Map with no caption

Brčko (Bosnia and Herzegovina)
{{Location map
 |Bosnia
 |label=Brčko
 |position=left
 |width=150
 |lat=44.87
 |long=18.81
 |float=right
 |caption=
 }}
Brčko (Bosnia)
Brčko
Brčko

[edit] Western Hemisphere

Lockerbie (Scotland)
{{Location map
 |Scotland
 |label=Lockerbie  | marksize=9
 |mark=Blue_pog.svg
 |lat_dir=N | lat_deg=55 | lat_min=07
            | lat_sec=16
 |lon_dir=W | lon_deg=03 | lon_min=21
            | lon_sec=19
 |position=right
 |width=170
 |float=right
 |caption=Lockerbie in Scotland
}}
Lockerbie (Scotland)
Lockerbie
Lockerbie
Lockerbie in Scotland

[edit] Country that crosses 180° meridian

Uelen (Russia)
{{Location map
 |Russia
 |label=Uelen  | marksize=7
 |mark=Locator Dot.gif
 |lat_deg=66|lat_min=09
 |lon_deg=169|lon_min=48|lon_dir=W
 |position=left
 |width=500
 |float=left
 |background=yellow
}}
Uelen (Russia)
Uelen
Uelen
Uelen (Russia)

[edit] See also