Module:TestMod
Basic test Lua module, can be invoked with {{#invoke: TestMod|FunctionName|arg1|arg2|etc ...}}
local p = {} --p stands for package
function p.hello( arg )
return "Hello, world!"
end
return p
Basic test Lua module, can be invoked with {{#invoke: TestMod|FunctionName|arg1|arg2|etc ...}}
local p = {} --p stands for package
function p.hello( arg )
return "Hello, world!"
end
return p