Board Thread:Lua Help/@comment-166269-20150217184425/@comment-24473195-20150301113819

Sure. You simply need to add a function that will return a frame:

local myFrame =  { args = {'es','en', 'n','n','n'}, ["getParent"] = function local myFrame = { args = {'es','en', 'n','n','n','2011-06-29'}}; return myFrame; end }

function test(frame) mw.log( mw.text.listToText(frame.getParent.args)); end

test(myFrame);