Module:Print: Difference between revisions

From Kronopolis and the Flat Plane
m Wioum moved page Module:Test to Module:Print without leaving a redirect
No edit summary
Tag: Reverted
Line 1: Line 1:
p = {}
function print(p)
p.loop = function(frame)
local out = {}


p.loop = function(frame)
for idx = 1, 5 do
local out = {}
table.insert(out, idx)
end


for idx = 1, 5 do
return table.concat(out, "<br>")
table.insert(out, idx)
end
end


return table.concat(out, "<br>")
return p
end
end
return p

Revision as of 14:41, 22 February 2023

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

function print(p)
	p.loop = function(frame)
		local out = {}

		for idx = 1, 5 do
			table.insert(out, idx)
		end

		return table.concat(out, "<br>")
	end

	return p
end