Module:Sandbox/sandbox
Appearance
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Awesome Aasim (talk | contribs) at 18:06, 21 March 2023 (will suggest some starter code for the sandbox because starter code would actually be useful). The present address (URL) is a permanent link to this version.Revision as of 18:06, 21 March 2023 by Awesome Aasim (talk | contribs) (will suggest some starter code for the sandbox because starter code would actually be useful)
This module is subject to page protection because this page is not itself a sandbox. If you want to test a module, see the instructions below or use Module:Module sandbox; do not edit this page itself.
This page is not a sandbox.
It should not be used for test editing. To experiment, please use the Wikipedia sandbox, your user sandbox, or other sandboxes.
Scribunto testing area
[edit ]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.
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.
You can use Special:PrefixIndex/Module:Sandbox to list modules in this area.
Userspace modules, including those that are not sandboxes, may also be placed under Module:User:.
The above documentation is transcluded from Module:Sandbox/doc. (edit | history)
Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
--[[ 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. ]]-- localp={} p.main=function(frame) localargs=frame.args localout='' -- some code here returnout end returnp