Module:Map/region

local p = {};

function p.trim (frame) local name = mw.text.trim(frame.args[1] or "") local page = mw.text.jsonEncode(mw.ext.data.get(name)) page = string.match(page,"%[%[%[..+%]%]%]") return string.sub(page,2,-2) end

return p;