Module:Location map/data/Vatican

From HandWiki
< Module:Location map
Revision as of 03:28, 26 May 2017 by imported>Zyxw (Module version of Template:Location map Vatican)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Location map of Vatican City
name Vatican City
border
coordinates
41.9083
12.4451 ←↕→ 12.4595
41.899
map center [ ⚑ ] 41°54′13″N 12°27′08″E / 41.90365°N 12.4523°E / 41.90365; 12.4523
image Vatican City location map.svg
Vatican City location map.svg
Map of Vatican City (click on map to see larger image)

Module:Location map/data/Vatican is a location map definition used to overlay markers and labels on an equirectangular projection map of Vatican City. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "Vatican":

Map definition

  • name = Vatican City
    Name used in the default map caption
  • bottom = 41.899
    Latitude at bottom edge of map, in decimal degrees
  • left = 12.4451
    Longitude at left edge of map, in decimal degrees
  • right = 12.4595
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.0144 degrees.

  • At an image width of 200 pixels, that is 0.0001 degrees per pixel.
  • At an image width of 1000 pixels, that is 0 degrees per pixel.

Latitude: from North to South this map definition covers 0.0093 degrees.

  • At an image height of 200 pixels, that is 0 degrees per pixel.
  • At an image height of 1000 pixels, that is 0 degrees per pixel.

Examples using location map templates

Location map

St. Peter's Basilica is located in Vatican City
St. Peter's Basilica
St. Peter's Basilica
St. Peter's Basilica (Vatican City)
{{Location map | Vatican
| width   = 200
| lat_deg =  41 | lat_min = 54 | lat_sec = 08 | lat_dir = N 
| lon_deg = 012 | lon_min = 27 | lon_sec = 12 | lon_dir = E
| label   = St. Peter's Basilica
}}

Location map many

Location map/data/Vatican is located in Vatican City
Vatican Museums
Vatican Museums
Saint Martha's
Saint Martha's
Vatican Heliport
Vatican Heliport
Vatican Bank
Vatican Bank
Locations in Vatican City
{{Location map many | Vatican
| width    = 200
| caption  = Locations in Vatican City
| lat1 = 41.906389 | long1 = 12.454444 | label1 = Vatican Museums
| lat2 = 41.900556 | long2 = 12.453333 | label2 = Saint Martha's
| lat3 = 41.902000 | long3 = 12.446500 | label3 = Vatican Heliport
| lat4 = 41.903780 | long4 = 12.456690 | label4 = Vatican Bank
}}

Location map+

Location map/data/Vatican is located in Vatican City
Vatican Museums
Vatican Museums
Saint Martha's
Saint Martha's
Vatican Heliport
Vatican Heliport
Vatican Bank
Vatican Bank
Locations in Vatican City
{{Location map+ | Vatican
| width   = 200
| caption = Locations in Vatican City
| places  =
  {{Location map~ | Vatican
  | lat = 41.906389 | long = 12.454444 | label = Vatican Museums
  }}
  {{Location map~ | Vatican
  | lat = 41.900556 | long = 12.453333 | label = Saint Martha's
  }}
  {{Location map~ | Vatican
  | lat = 41.902000 | long = 12.446500 | label = Vatican Heliport
  }}
  {{Location map~ | Vatican
  | lat = 41.903780 | long = 12.456690 | label = Vatican Bank
  }}
}}

Location map with multiple maps

Lua error in Module:Location_map at line 522: Unable to find the specified location map definition: "Module:Location map/data/Rome" does not exist.

{{Location map | Vatican#Rome#Lazio#Italy#Europe#Earth
| width   = 200
| lat_deg =  41 | lat_min = 54 | lat_sec = 08 | lat_dir = N 
| lon_deg = 012 | lon_min = 27 | lon_sec = 12 | lon_dir = E
| label   = St. Peter's Basilica
| caption  = Location of St. Peter's Basilica
}}

Examples using infobox templates

Single map

Short description: Church
St. Peter's Basilica
Location map/data/Vatican is located in Vatican City
Location map/data/Vatican
Location on a map of Vatican City
[ ⚑ ] 41°54′08″N 012°27′12″E / 41.90222°N 12.45333°E / 41.90222; 12.45333
{{Infobox church
| name = St. Peter's Basilica
| pushpin map = Vatican
| pushpin label position = none
| map caption = Location on a map of Vatican City
| coordinates = {{coord|41|54|08|N|012|27|12|E|display=inline<!--,title-->}}
}}

Multiple maps

Short description: Church
St. Peter's Basilica
Lua error in Module:Location_map at line 522: Unable to find the specified location map definition: "Module:Location map/data/Rome" does not exist.
[ ⚑ ] 41°54′08″N 012°27′12″E / 41.90222°N 12.45333°E / 41.90222; 12.45333
{{Infobox church
| name = St. Peter's Basilica
| pushpin map = Vatican#Rome#Lazio#Italy#Europe#Earth
| pushpin label position = none
| map caption = Location of St. Peter's Basilica
| coordinates = {{coord|41|54|08|N|012|27|12|E|display=inline<!--,title-->}}
}}

See also

Location map templates

Creating new map definitions


return {
  name    = 'Vatican City',
  top     = 41.9083,
  bottom  = 41.8990,
  left	  = 12.4451,
  right	  = 12.4595,
  image   = 'Vatican City location map.svg'
}