Welcome to fedrix.com on July 9 2009.
This is an internet experiment running to monitor browsing habbits of individuals through wikipedia contents.

Template:Location map

From Wikipedia, the free encyclopedia

Jump to: navigation, search
[edit] [purge] Template documentation

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

Usage

{{Location map
|location
|label      = label text
|label_size = map font size, per cent
|alt        = Alt text for image (defaults to generic description)
|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.

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 270-0-360-90 Location map Afghanistan
Location map Africa Location map Akershus
Location map Albania
Location map Algeria
Location map Alps Location map American Samoa
Location map Andorra
Location map Angola Location map Angola-Namibia Border Location map Anguilla
Location map Antarctic Peninsula Location map Antigua and Barbuda 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 Bahamas 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 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 Canada Location map CanadaGeo Location map CanadaGeo/doc
Location map CanadaTerrain Location map CanadaTerrain/doc Location map Canada Alberta
Location map Canada Alberta/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 Canary Islands
Location map Cape Verde
Location map Central African Republic Location map Central Europe Location map Chad
Location map Chile
Location map China Location map China Guangdong Location map China Yunnan province
Location map Colombia Location map Comoros
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 Cyprus 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 Ecuador Galápagos Islands
Location map Egypt
Location map Egypt/doc Location map El Salvador
Location map England Location map England and Wales Location map England south of the Humber and east of the Isle of Wight
Location map Equatorial Guinea Location map Eritrea
Location map Estonia Location map Estonia Pärnu County Location map Estonia Tallinn
Location map Ethiopia Location map Europe Location map European Parliament constituencies 2007
Location map FRG and West Berlin
Location map Finland Location map Finnmark
Location map France Location map France Charente
Location map France Charente-Maritime Location map France Côtes-d'Armor Location map France Ille-et-Vilaine
Location map France Loire-Atlantique Location map France Morbihan Location map France Paris
Location map French Guiana Location map Gabon Location map Gambia
Location map Georgia
Location map Germany Location map Germany/doc
Location map Germany2 Location map GermanyNeckar Location map GermanyRhine
Location map GermanyWeser Location map Germany Baden-Württemberg Location map Germany Bavaria
Location map Germany Berlin Location map Germany Brandenburg Location map Germany Bremen
Location map Germany Hamburg Location map Germany Hamburg/doc Location map Germany Hesse
Location map Germany Lower Saxony Location map Germany Mecklenburg-Vorpommern Location map Germany North Rhine-Westphalia
Location map Germany Rhineland-Palatinate Location map Germany Saarland Location map Germany Saxony
Location map Germany Saxony-Anhalt Location map Germany Schleswig-Holstein Location map Germany Thuringia
Location map Ghana Location map Gibraltar
Location map Greece
Location map Greece Dimos Edessas Location map Greece Dimos Skydras Location map Greenland
Location map Grenada
Location map Guatemala Location map Guinea
Location map Guinea-Bissau Location map Guyana Location map Haiti
Location map Havana/doc
Location map Honduras Location map Hong Kong
Location map Hong Kong MTR Location map Hungary
Location map Iberia Location map Iceland
Location map India Location map India Andhra Pradesh
Location map India Arunachal Pradesh Location map India Assam Location map India Bihar
Location map India Chennai Location map India Jharkhand Location map India Karnataka
Location map India Kerala Location map India Maharashtra Location map India Manipur
Location map India Meghalaya Location map India Mumbai Location map India Nagaland
Location map India Nagpur Location map India Orissa Location map India Rajasthan
Location map India Sikkim Location map India Tamil Nadu Location map India Tripura
Location map India Uttar Pradesh Location map India Uttarakhand Location map India West Bengal
Location map Indonesia Location map Indonesia (provinces)
Location map Indonesia Bacan Location map Indonesia Bali Location map Indonesia Banggai
Location map Indonesia Borneo Location map Indonesia Java Location map Indonesia Maluku
Location map Indonesia Papua Location map Indonesia Sula Location map Indonesia Sulawesi
Location map Indonesia Sumatra
Location map Iran Location map Iraq Location map Ireland
Location map Isle of Man Location map Israel
Location map Israel Ariel Location map Israel Carmel
Location map Israel Emek-beit-shean Location map Israel Netanya Location map Israel Tel-aviv area
Location map Israel ashkelon Location map Israel binyamin Location map Israel center ta
Location map Israel gaza Location map Israel golan Location map Israel haifa
Location map Israel jerusalem Location map Israel jezreel Location map Israel negev mt
Location map Israel north haifa Location map Israel north negev Location map Israel northeast
Location map Israel northwest Location map Israel northwest negev Location map Israel south wb

NOTE: For more of this list, go to: Special:PrefixIndex/Template:Location_map_ and select "Next page" in the Upper-Right corner.

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

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).

Examples

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 is located in Croatia
Pag
Pag
Pag (Croatia)

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 is located in Croatia
Pag
Pag
Pag (Croatia)


Map with the default caption and alt text

Pag (Croatia)
{{Location map
 |Croatia | label=Pag
 |alt = Pag lies off the West coast of Croatia, in the Adriatic Sea
 |mark=<!--dot-->Green pog.svg
 |lat_deg=44|lat_min=26
 |lon_deg=15|lon_min=3
 |position=right
 |width=300
 |float=right
}}
Pag lies off the West coast of Croatia, in the Adriatic Sea
Pag
Pag
Pag (Croatia)


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 is located in Croatia
Pag
Pag
Pag (Croatia)

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
 }}
Imotski is located in Croatia
Imotski
Imotski
Imotski on the map of Croatia

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 is located in Croatia
Pag
Pag
Pag Island on the map of Croatia

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 is located in Bosnia
Brčko
Brčko

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 is located in Scotland
Lockerbie
Lockerbie
Lockerbie in Scotland

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 is located in Russia
Uelen
Uelen
Uelen (Russia)

All Parameters

Parameter Default Description
{1}    
AlternativeMap= Location map {1}|image [[image: {}]]
background=   background-color: {};
border= #CCCCCC border: {};
caption=    
float=   float: {}; clear: {};
label= {PAGENAME}  
lat= 0  
lat_deg= 0  
lat_dir=    
lat_min= 0  
lat_sec= 0  
long= 0  
lon_deg= 0  
lon_dir=    
lon_min= 0  
lon_sec= 0  
mark= Red pog.svg [[Image: {}]]
marksize= 8 [[Image: {}px]]
font-size: {}px;
position= right  
width= 240 image: {}px
width: ({}+2)px;

See also

Personal tools

Visit joltnews for the latest headlines
Visit bloit.com for company information
Geed Media does computer consulting on long island.
This page viewed times. See Logs