Module:Infobox mapframe/doc

Usage
Module that automatically makes a mapframe suitable for an infobox automatically, if a page's linked Wikidata item has coordinates. Otherwise, an empty string is returned. The coordinates will be displayed as a point feature unless is specified on the Wikidata item.

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