Module:OrganizationsMap
Documentation for this module may be created at Module:OrganizationsMap/doc
local p = {}
function p.main(frame)
-- local args = frame:getParent().args
local ret = mw.visualdata.query( 'Organization', '[[name::+]]', {'geolocation'}, {} )
-- Gent, Belgie~The city Ghent~Ghent is awesome~ ~ ~Ghent
-- Brussel~The city Brussel~The capital of Belgium~ ~ ~Brussels
-- Antwerp~The city Antwerp~ ~ ~ ~Antwerp
return mw.text.jsonEncode(ret)
end
return p