Jump to content

Module:Ash TestLua

Unchecked
From Wikipedia

Documentation for this module may be created at Module:Ash TestLua/doc

local p = {}

local intern = require('Module:Ash LuaInternal')

function p.hello(frame)
	return intern.internal('Hello ', frame)
end

function p.bye(frame)
	return intern.internal('Bye ', frame)
end

function p.iter(frame)
	local result = ''
	for indeex, value in ipairs(frame.args) do
		result = result .. '* ' .. value .. '\n'
	end
	return result
end

return p