Module:Sandbox

天津风不是天津的风讨论 | 贡献2025年6月2日 (一) 11:53的版本 (merge from official wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
本页面不是sandbox
It should not be used for test editing. To experiment, please use the user sandbox, or the other sandboxes.

Scribunto testing area

This is not an actual Lua module. It exists to provide a convenient pseudo-namespace for code testing, hopefully preventing the main Module: namespace from becoming littered with experiments, as Lua modules cannot exist as subpages in the User: namespace.

Naming your modules

Please name your experimental modules in the following format to help keep things tidy:

Module:Sandbox/Your User Name

If you need more Module sandboxes, create subpages of the sandbox thus created.

List of modules in this area

For a list of the experimental modules under Module:Sandbox, see Special:PrefixIndex/Module:Sandbox/.


Disambig grey.pngThis Module was adopted from: Module:Sandbox on Wikipedia.
Adaptation is noted for reference and attribution only. This module may differ from the original in function or in usage.



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