Module:Sandbox/ohmomar

Revision as of 15:34, 27 December 2017 by imported>Ohmomar
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

--ohmomarGoogle Code-in 2017, Introduction to Lua in Wikipedia
-- [Lua task #3]  Create your own Lua module on English Wikipedia
local p = {}-- p stands for package
p.reign = function( frame )
	local y = tonumber(frame.args.year)
	local z = tonumber(frame.args.year1)
	y = "<br>"
	z = "<br>"
	return y.."-"..z.."<br>"
	
end

return p