-- If the "country": "GB" feature is used instead of "corners", we need the Wikidata ID of the country for the map to uselocal countries =
local p =
function p.main(frame) local data = mw.loadJsonData("Wikipedia:Geonotice/list.json") local geojson = for name, info in pairs(data) do local properties = local feature if info.country ~= nil then feature = else feature = end table.insert(geojson, feature) end local width = frame.args.width or "full" local height = frame.args.height or "500" return frame:extensionTagend
return p