Jump to content

Module:Sandbox/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
This page has now been deleted
will suggest some starter code for the sandbox because starter code would actually be useful
 
Line 1: Line 1:
--[[
-- NOTICE: Please test modules using a subpage of Module:Sandbox like this: Module:Sandbox/Your Name/sandbox, where Your Name is your username. Thank you!
Please do not edit this page. This page serves as a root for the sandbox.

The following below is some starter code that you may use to get started with module writing and testing. Please feel free to take this to get started on your module.

Remember to remove this top notice when copying and pasting from here to your module sandbox.
]]--

local p = {}
p.main = function(frame)
local args = frame.args
local out = ''
-- some code here
return out
end
return p

Latest revision as of 18:06, 21 March 2023

--[[
Please do not edit this page. This page serves as a root for the sandbox.

The following below is some starter code that you may use to get started with module writing and testing. Please feel free to take this to get started on your module.

Remember to remove this top notice when copying and pasting from here to your module sandbox.
]]--

local p = {}
p.main = function(frame)
	local args = frame.args
	local out = ''
	-- some code here
	
	return out
end
return p