Template:Infobox mapframe

From WikiMD's Wellness Encyclopedia


Usage[edit source]

This template embeds a map using MediaWiki's native **mapframe** functionality.

Example[edit source]

{{Infobox mapframe
| lat     = 37.7749
| lon     = -122.4194
| zoom    = 12
| width   = 400
| height  = 300
| caption = Map of San Francisco
}}

Parameters[edit source]

  • `lat` - Latitude of the map center.
  • `lon` - Longitude of the map center.
  • `zoom` - Zoom level (default is 10).
  • `width` - Width of the map frame in pixels (default is 300px).
  • `height` - Height of the map frame in pixels (default is 200px).
  • `caption` - Optional text or caption displayed below the map.

Notes[edit source]

This template requires the **Kartographer** extension to work.