MediaWiki:Bananas (edit | talk | history | links | watch | logs)

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