Module:Bananas

From Roleplay UK Wiki
Jump to navigation Jump to search

Example Lua module that contains a single function.

hello

  • {{#invoke:Bananas|hello}} → Hello, world!

See also

wikipedia:Category:Module example


-- For unit tests, see [[Module:Bananas/testcases]]
local p = {}

function p.hello()
	return "Hello, world!"
end

return p