Module:Location map: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 400: Line 400:
builder:wikitext('[[Category:Location maps with linked markers with coordinates from Wikidata]]')
builder:wikitext('[[Category:Location maps with linked markers with coordinates from Wikidata]]')
end
end
end
if not longitude then
error('No value was provided for longitude')
elseif not latitude then
error('No value was provided for latitude')
end
end
if currentTitle.namespace > 0 then
if currentTitle.namespace > 0 then