Module:Print: Difference between revisions

From Kronopolis and the Flat Plane
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 11: Line 11:
end
end


return nil
return mw.logObject(p)
end
end

Revision as of 15:08, 22 February 2023

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

function print(p)
	p = {'p1','p2'}
	p.loop = function(frame)
		local out = {}

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

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

	return mw.logObject(p)
end