Module:Infobox mapframe/doc

< Module:Infobox mapframe
Revision as of 17:10, 21 October 2018 by Ayzek (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Infobox mapframe

Lua error: Internal error: The interpreter exited with status 127.

Usage

Module that automatically makes a mapframe suitable for an infobox automatically, if a page's linked Wikidata item has coordinates ([Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. (P625)]). Otherwise, an empty string is returned. The coordinates will be displayed as a point feature unless [Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127. (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.