×
Create a new article
Write your page title here:
We currently have 3,035 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,035Articles

Module:TestModule: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
local p = {}
local p = {}


function p.add(frame)
function p.range(x)
return ("%02d"):format(tonumber(frame.args[1]) + tonumber(frame.args[2]))
local result = "0"
for var=1,x do
result = result .. "," .. tostring(var)
end
return result
end
end


return p
return p

Revision as of 11:43, 11 July 2024

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

local p = {}

function p.range(x)
	local result = "0"
	for var=1,x do
		result = result .. "," .. tostring(var)
	end
	return result
end

return p