Jump to content

Module:Sandbox

From Simple English Wikipedia, the free encyclopedia
Revision as of 15:38, 18 December 2017 by en>Ohm100

®️ This is not a main module page, but it serves as a placeholder for testing lua codes.

At the edit box area below: add the title of the module, Example: 'Example', not: 'Module:Sandbox/Example'.

You can check the subpages of this page at Special:PrefixIndex/Module:Sandbox.

See also

Wikipedia:Sandbox


--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