Module:Location map/data/Vatican

MyWikiBiz, Author Your Legacy — Friday December 27, 2024
< Module:Location map
Revision as of 04:22, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

File:Map of Vatican City.jpg
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

Template: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
}}

Template:Clear

Location map many

Template: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
}}

Template:Clear

Location map+

Template: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
  }}
}}

Template:Clear

Location map with multiple maps

Template:Location map

{{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
}}

Template:Clear

Examples using infobox templates

Single map

St. Peter's Basilica
CoordinatesTemplate:Coord
{{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-->}}
}}

Template:Clear

Multiple maps

St. Peter's Basilica
CoordinatesTemplate:Coord
{{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-->}}
}}

Template:Clear

Template:Clear

See also

Location map templates

Creating new map definitions

Template:Sandbox other


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