Module:Bananas (talk · edit · hist · links · doc · subpages · tests (results· sandbox (edit · subpages))

Example Lua module that contains a single function.

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

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

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

return p