ထာမ်ပလိက်တဏအ်ဒးနွံကဵုလိက်စၟတ်သမ္တီမချူလဝ်သာဓက။
သ္ပဂုန်တုဲထာမ်ပလိက်တဏအ်ဒးစၟတ်သမ္တီကဵုလိက်မချူလဝ်နူကဵုဓမံက်ထ္ၜးကဵုဗီုပြၚ်ကိစ္စမရန်တၟအ်လဝ် ကဵု ပရေၚ်မရပ်စပ်လ္တူမုက်လိက်နကဵုလိက်စၟတ်သမ္တီမချူလဝ်သာဓက

local export = {}


function export.senseid_t(frame)
	local params = {
		[1] = {required = true, default = "und"},
		[2] = {required = true, default = ""},
		tag = {default = "li"},
	}
	
	local args = require("Module:parameters").process(frame:getParent().args, params)
	
	if not (args.tag == "li" or args.tag == "p") then
		error("Unauthorized tag: " .. args.tag)
	end
	
	local m_languages = require("Module:languages")
	local lang = m_languages.getByCode(args[1]) or m_languages.err(args[1], 1)
	
	return require("Module:senseid").senseid(lang, args[2], args.tag)
end


function export.etymid_t(frame)
	local params = {
		[1] = {required = true, default = "und"},
		[2] = {required = true, default = ""}
	}
	
	local args = require("Module:parameters").process(frame:getParent().args, params)
	
	local m_languages = require("Module:languages")
	local lang = m_languages.getByCode(args[1]) or m_languages.err(args[1], 1)
	
	return require("Module:senseid").etymid(lang, args[2])
end


return export