Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Module:Map/doc
From Dive Atlas
Views
Read
Edit source
View history
associated-pages
Module
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This module provides input parameters for mapframe and maplink functions supported by [[mw:Extension:Kartographer|Extension:Kartographer]]. Usage: <nowiki>{{#invoke:map|tag|type=maplink|geotype=Point|title=Example|latitude=59.0|longitude=29.0}}</nowiki> {| class="wikitable" |+Parameters for Module:Map !Parameter !Usage |- | '''type''' | <code>maplink</code> or <code>mapframe</code> depending on which function should be invoked |- | '''geotype''' | <code>Point</code> for individual points, <code>Polygon</code> for polygons |- | '''title''' | Object name |- | '''latitude''' and '''longitude''' | use 'NA' to disable coordinates, including the ones from wikidata |- | '''zoom''' | Zoom level of the map |- | '''marker-symbol''' | Symbol, letter, or number for displaying on the map as marker |- | '''marker-color''' | Color of the map marker |- | '''group''' | Group of markers (see, eat, drink, etc.) |- | '''show''' | Which marker groups to show (by default shows the most common groups like see, eat, drink, ...) |- | '''data''' | <code>data=values</code> fills the polygon given by <code>data</code><br> <code>data=world;;values</code> fills the area outside of the polygon |- | '''image''' | Name of the image shown in the thumbnail |- | '''width''' and '''height''' | map width and map height in px or % of screen width, only for mapframe |- | '''wikidata''' | if specified, the missing title/lat/long/image fields will be fetched from the respective wikidata entry fields |} <includeonly>[[Category:Modules]]</includeonly>
Summary:
Please note that all contributions to Dive Atlas may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)