Module:HelloWorld: Difference between revisions

From Bonkipedia
[[mw:]]>X-Savitar
No edit summary
 
m (1 revision imported: Module Import)
 
(No difference)

Latest revision as of 18:20, 12 November 2022

Usage

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