Module:Bananas

Jump to navigation Jump to search

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

Example Lua module that contains a single function.

hello[edit source]

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

See also[edit source]

External links[edit source]

 

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

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

return p