Module:Sandbox/TempBK/Exp1

Revision as of 04:07, 21 March 2015 by imported>TempBK
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Sandbox/TempBK/Exp1/doc

local p = {}
 
function p.function5(inputs)
	local x1=inputs.args[1]
	local year=tonumber(inputs.args[2])
	local month=tonumber(inputs.args[3])
	local day=tonumber(inputs.args[4])
	a={}
	b={}
	xx=0
	for i=year, year do
		for j=1, 12 do
			for k=1, 31 do
				xx=xx+1
				a[xx]=tostring('\t'..i..'-'..j..'-'..k..'  -  {{POTD/{{date|'..i..'-'..j..'-'..k..'|iso}}|title}}{{-}}')
			end
		end
	end
	outa = table.concat(a)
	return outa
end

return p