This is a simple hello world Module and can be invoked using the following;
{{#invoke:HelloWorld|hello}}
See example test here: HelloWorld module test
local p = {} function p.hello() return 'Hello World' end return p