Module:Bananas

From Historical Hastings

Module:Bananas (ediHatnote| talk | [https://historymap.info/index.php?title=Module:Bananas&action=history history | links | watch | logs)

Example Lua module that contains a single function.

hello

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

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

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

return p