More actions
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 = {} | |||
for idx = 1, 5 do | |||
table.insert(out, idx) | |||
end | |||
return table.concat(out, "<br>") | |||
table. | |||
end | end | ||
return | return p | ||
end | end | ||
Revision as of 12: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