Documentation for this module may be created at Module:Test/doc
local test2 = require('Module:Test2')
local es = require('Module:ESTable')
local p = {}
function p.test( frame )
local outWords = es.getWords('necro', '*', 1)
local out = ''
for _, element in pairs(outWords) do
for _, part in pairs(element) do
for _, op in pairs(part) do
-- Assuming op is a string, concatenate it to the output
if type(op) == 'string' then
out = out .. op .. ' '
elseif type(op) == 'table' then
-- Handle table case if needed
for _, subOp in pairs(op) do
out = out .. subOp .. ' '
end
end
end
end
end
return out
end
return p