Jump to content

Module:Infobox mapframe/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jc86035 (talk | contribs) at 11:09, 6 December 2018 ({{Lua sidebar}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

Module that automatically makes a mapframe suitable for an infobox automatically, if a page's linked Wikidata item has coordinates (coordinate location (P625)). Otherwise, an empty string is returned. The coordinates will be displayed as a point feature unless OpenStreetMap relation ID (P402) is specified on the Wikidata item.

Can be used from {{Infobox mapframe}}, or invoked directly by a template, or imported to another Lua module.