Template:Minimap: Difference between revisions

Selected Canon Law Collections, ca. 500–1234
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><mapframe  
<includeonly>{{#tag:mapframe|{
   width="200"  
   "type": "Feature",
   height="200"  
   "geometry": {
   zoom="13"  
    "type": "Point",
   latitude={{{1}}}  
    "coordinates": [{{{2}}}, {{{1}}}]
  longitude={{{2}}}
  },
  align="left"
   "properties": {
/></includeonly><noinclude>
    "marker-symbol": "monument",
    "marker-color": "cc0000"
   }
}|width=200|height=200|zoom=7|latitude={{{1}}}|longitude={{{2}}}|align=right}}</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>{{minimap|40.75|14.633}}</pre>
<code><nowiki>{{minimap|1|2}}</nowiki></code>


== Parameters ==
* '''1''': Latitude in decimal degrees
* '''1''': Latitude in decimal degrees
* '''2''': Longitude in decimal degrees
* '''2''': Longitude in decimal degrees


== Test ==
== Example ==
The minimap (200x200 px) will have a pin in the centre and show the wider area (some 100 km in all directions). So <code><nowiki>{{minimap|40.75|14.633}}</nowiki></code> will be displayed as:
{{minimap|40.75|14.633}}
{{minimap|40.75|14.633}}


[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 22:56, 2 December 2025

Usage

{{minimap|1|2}}

  • 1: Latitude in decimal degrees
  • 2: Longitude in decimal degrees

Example

The minimap (200x200 px) will have a pin in the centre and show the wider area (some 100 km in all directions). So {{minimap|40.75|14.633}} will be displayed as:

Map