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)
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 | |||
image | Vatican City location map.svg
| |||
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":
{{Location map|Vatican |...}}
{{Location map many|Vatican |...}}
{{Location map+|Vatican |...}}
{{Location map~|Vatican |...}}
Map definition
name = Vatican City
- Name used in the default map caption
image = Vatican City location map.svg
- The default map image, without "Image:" or "File:"
top = 41.9083
- Latitude at top edge of map, in decimal degrees
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
{{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 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+ | 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 | |
---|---|
[ ⚑ ] 41°54′08″N 012°27′12″E / 41.90222°N 12.45333°E |
{{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 |
{{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
- Module:Location map/data/Vatican City, uses a different map image with different edge coordinates
- Module:Location map/data/Italy Rome
- Module:Location map/data/Italy Lazio
- Module:Location map/data/Italy
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
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' }