Module:Infobox mapframe: Difference between revisions

m 1 revision imported
No edit summary
 
Line 162: Line 162:
-- Require wikidata item, or specified coords
-- Require wikidata item, or specified coords
local wikidataId = config.id or mw.wikibase.getEntityIdForCurrentPage()
    local wikidataId = config.id or nil --[[mw.wikibase.getEntityIdForCurrentPage()]]
if not(wikidataId) and not(config.coord) then
if not(wikidataId) and not(config.coord) then
return ''
return ''