Module:Infobox mapframe/doc: Difference between revisions

Jump to navigation Jump to search
en>Jc86035
m ({{Lua sidebar}})
 
m (1 revision imported)
 

Latest revision as of 17:40, 10 March 2019

Usage

Module that automatically makes a mapframe suitable for an infobox automatically, if a page's linked Wikidata item has coordinates (Lua error in Module:Wd at line 2199: attempt to index field 'wikibase' (a nil value). (P625)). Otherwise, an empty string is returned. The coordinates will be displayed as a point feature unless Lua error in Module:Wd at line 2199: attempt to index field 'wikibase' (a nil value). (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.