Module:Bananas

Frá Wikipedia, hin frælsa alfrøðin

Module:Bananas (kjak · rætta · søga · leinkjur · doc · undirsíður · tests (úrslit· sandbox (edit · undirsíður))

Example Lua module that contains a single function.

hello[rætta wikitekst]

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

See also[rætta wikitekst]


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

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

return p