Jump to content

Module:Sandbox

From Simple English Wikipedia, the free encyclopedia
Revision as of 22:40, 10 August 2014 by en>BigGreenCahuna

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


-- Placeholder only! Do not add code.
-- Reviving the evil Banana test
local p = {}
 
function p.hello( frame )
	local args=frame.args
	local Message = "Minions love bananas!"

	if args[1] == "1"
	then 
		Message = "Cahuna"  
    else  
		Message = args[1]
	end
    return '<div style="position:absolute;top:0px;left:0px;"><table border=0 cellspacing=0 cellpadding=0 width=100% style="background-color:#FFFFFF;"><tr><td width=100%><div id="siteSub">Bob</div><div id="contentSub">&nbsp;&nbsp; Color <font style=color:#0000FF;">Blue</font>)</div>'..Message..'</div>'   
end
 
return p