local p = {} p.main = function(frame) local args = frame.args local thisPage = mw.title.getCurrentTitle() local out = 'hello' -- some code here return out end return p