local getArgs = require('Module:Arguments').getArgslocal mSep = require('Module:Separated entries')
local p = svaraDesc =
function p.test(frame) local output local hindustani = local entry1, entry2 local v = 'S' local args = getArgs(frame) -- make a local pointer to the frame.args table if not args[1] then return 'error: no input'; -- minimal error check to see if we got required input end
entry2 = svaraDesc[v]['hindustani'] -- print(p.test) for key, value in pairs(args) do mw.log(key, value) entry1 = svaraDesc[value]['hindustani'] hindustani[key] = entry1 mw.logObject(entry1) end
hindustani['separator'] = " " local output = mSep.main(hindustani)
return outputend
function p.hello(frame) mw.log("foo") return 'Hello, my ' .. frame.args[1] .. ' is ' .. frame.args[2]end
return p