Module:Sandbox/RexxS/GCI08

From English Wikipedia @ Freddythechick
-- Module to demonstrate a simple table for Google-Code-in-2017
--
-- The function 'mum' displays "Hello Mum"
-- The number base for the times-table is passed as parameter "num"
-- If no parameter or a blank parameter or a value less than 2 is passed, use 2

p = {}

p.mum = function(frame)
	local family = {"Dad", "Mum", "Uncle Stan", "Aunty Elsie", "Brian"}
	local msg = ""
	msg = msg .. "Hello " .. family[2] .. "<br>"
	return msg
end

return p