MyWikiBiz, Author Your Legacy — Saturday October 11, 2025
Jump to navigationJump to search
6,154 bytes added
, 04:23, 16 July 2021
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->{{Module:Location map/data/doc
| image =
[[File:Map of Vatican City.jpg|thumb|400px|Map of Vatican City (click on map to see larger image)]]
| precision =
[[Longitude]]: from West to East this map definition covers {{Decimals|{{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) fmod 360}}|6}} degrees.
* At an image width of 200 [[pixel]]s, that is {{Decimals|{{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) fmod 360 / 200}}|6}} degrees per pixel.
* At an image width of 1000 pixels, that is {{Decimals|{{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|right}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|left}} + 360 ) fmod 360 / 1000}}|6}} degrees per pixel.
[[Latitude]]: from North to South this map definition covers {{Decimals|{{#expr: {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}}}}|6}} degrees.
* At an image height of 200 pixels, that is {{Decimals|{{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} ) / 200}}|6}} degrees per pixel.
* At an image height of 1000 pixels, that is {{Decimals|{{#expr: ( {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|top}} - {{#invoke:Location map|data|{{#titleparts:{{FULLPAGENAME}}|1|3}}|bottom}} ) / 1000}}|6}} degrees per pixel.
| examples =
=== 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
}}
<pre style="width:40em">
{{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
}}
</pre>
{{clear}}
=== 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
}}
<pre style="width:40em">
{{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
}}
</pre>
{{clear}}
=== 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
}}
}}
<pre style="width:40em">
{{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
}}
}}
</pre>
{{clear}}
=== 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
}}
<pre style="width:40em">
{{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
}}
</pre>
{{clear}}
== Examples using infobox templates ==
=== Single map ===
{{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-->}}
}}
<pre style="width:40em">
{{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-->}}
}}
</pre>
{{clear}}
=== Multiple maps ===
{{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-->}}
}}
<pre style="width:40em">
{{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-->}}
}}
</pre>
{{clear}}
| see also =
* [[Module:Location map/data/Vatican]], uses a different map image with different edge coordinates
}}
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Vatican City location map templates|Vatican City]]
}}
</includeonly>