Module:umu-ndecl

local export = {}

local rfind = mw.ustring.find local rmatch = mw.ustring.match local rsubn = mw.ustring.gsub local rsplit = mw.text.split

local lang = require("Module:languages").getByCode("umu") local langname = lang:getCanonicalName

local function generateTable(data) local word = data.word local def = data.def

-- anim = anim or inanim -- ind = ind or dep if data.anim == "anim" and data.dep == "ind" then local tableCode = string.format(		, data.word, data.def, data.word, data.def, data.word, data.def, data.word, data.def, data.word, data.def, data.word, data.def, data.word, data.def, data.word, data.def, data.word, data.def)

return tableCode end end

function export.show(frame) local word = frame.args.word local anim = frame.args.anim local dep = frame.args.dep local data = { word = word, def = anim .. " " .. dep, anim = anim, dep = dep }   local tableOutput = generateTable(data) return tableOutput end

return export