See usage on user:imahero/test.
local p = {} --p stands for package function p.hello(frame) splittext = mw.text.split( '5/3', '/', true ) return splittext[1] -- return "Hello " .. frame.args.name .. "!" end return p