More actions
Content deleted Content added
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode Tag: Reverted |
||
Line 26: | Line 26: | ||
function p.test2( frame ) |
function p.test2( frame ) |
||
return es. |
return es.all(frame) |
||
end |
end |
||
Revision as of 19:00, 31 March 2025
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(frame, 'life', '*', 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
function p.test2( frame )
return es.all(frame)
end
return p