Jump to content

Module:Sandbox

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ohm100 (talk | contribs) at 15:38, 18 December 2017. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--ohmoma100
-- [Lua task #3]  Create your own Lua module on English Wikipedia
local p = {} -- p stands for package
p.temperature = function(frame)
	
	cel = frame.args.celsius
	if(cel>9)
	then 
	msg=msg.."It is Warm"
	else
		msg=msg.."It is cold"
	
	

end
return p
end return msg