Template:Minimap: Difference between revisions

Selected Canon Law Collections, ca. 500–1234
created template
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="width: 200px; height: 200px; border: 1px solid #ccc; position: relative;">
<includeonly>{{#tag:mapframe|{
<mapframe  
  text=""
  width="200"
  height="200"
  zoom="13"
  latitude="{{{1}}}"
  longitude="{{{2}}}"
  align="left">
{
   "type": "Feature",
   "type": "Feature",
   "geometry": {
   "geometry": {
Line 15: Line 6:
   },
   },
   "properties": {
   "properties": {
     "marker-symbol": "marker",
     "marker-symbol": "monument",
     "marker-color": "cc0000"
     "marker-color": "cc0000"
   }
   }
}
}|width=200|height=200|zoom=7|latitude={{{1}}}|longitude={{{2}}}|align=right}}</includeonly><noinclude>
</mapframe>
</div></includeonly><noinclude>
== Usage ==
== Usage ==
<pre>{{minimap|40.75|14.633}}</pre>
<code><nowiki>{{minimap|1|2}}</nowiki></code>
{{minimap|40.75|14.633}}


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


[[Category:Templates]]
== 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}}
 
[[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