Module:Bananas

From Historical Hastings Wiki

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

Example Lua module that contains a single function.

hello[edit]

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

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

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

return p