Module:Print: Difference between revisions

From Kronopolis and the Flat Plane
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
function print(p)
function print(p)
p = {'p1','p2'}
p.loop = function(frame)
p.loop = function(frame)
local out = {}
local out = {}

Revision as of 15:05, 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 p
end