See usage on user:imahero/test.
local p = {} --p stands for package function p.hello(frame) result = frame:expandTemplate{title = 'project:Test'} if result then return 'YES' end return 'NO' -- return "Hello " .. frame.args.name .. "!" end return p