Module:Location map/data/Vatican City
MyWikiBiz, Author Your Legacy — Monday December 23, 2024
Jump to navigationJump to searchLua error: expandTemplate: template "coord" does not exist.
Module:Location map/data/Vatican City 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 City":
Map definition
name = Vatican City
- Name used in the default map caption
image = Location map of Vatican City.gif
- The default map image, without "Image:" or "File:"
top = 41.907793
- Latitude at top edge of map, in decimal degrees
bottom = 41.9000577
- Latitude at bottom edge of map, in decimal degrees
left = 12.4451378
- Longitude at left edge of map, in decimal degrees
right = 12.4584684
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers Template:Decimals degrees.
- At an image width of 200 pixels, that is Template:Decimals degrees per pixel.
- At an image width of 1000 pixels, that is Template:Decimals degrees per pixel.
Latitude: from North to South this map definition covers Template:Decimals degrees.
- At an image height of 200 pixels, that is Template:Decimals degrees per pixel.
- At an image height of 1000 pixels, that is Template:Decimals degrees per pixel.
Examples using location map templates
Location map
{{Location map | Vatican City | 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 City | 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 City | width = 200 | caption = Locations in Vatican City | places = {{Location map~ | Vatican City | lat = 41.906389 | long = 12.454444 | label = Vatican Museums }} {{Location map~ | Vatican City | lat = 41.900556 | long = 12.453333 | label = Saint Martha's }} {{Location map~ | Vatican City | lat = 41.902000 | long = 12.446500 | label = Vatican Heliport }} {{Location map~ | Vatican City | lat = 41.903780 | long = 12.456690 | label = Vatican Bank }} }}
Location map with multiple maps
{{Location map | Vatican City#Rome#Italy | 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
St. Peter's Basilica | |
Coordinates | Template:Coord |
---|
{{Infobox church | name = St. Peter's Basilica | pushpin map = Vatican City | 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
St. Peter's Basilica | |
Coordinates | Template:Coord |
---|
{{Infobox church | name = St. Peter's Basilica | pushpin map = Vatican City#Rome#Italy | 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, uses a different map image with different edge coordinates
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.907793, bottom = 41.9000577, left = 12.4451378, right = 12.4584684, image = 'Location map of Vatican City.gif', }