Jump to content

မေႃႇၵျူး:Map/region

လုၵ်ႉတီႈ ဝီႇၶီႇဝွႆးဢဵတ်ႇꩡ် မႃး

Documentation for this module may be created at မေႃႇၵျူး:Map/region/doc

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;