Jump to content

Module:Sandbox/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fixed typo
Tags: Reverted Mobile edit Mobile web edit
m Reverted edit by 188.236.198.156 (talk) to last version by Awesome Aasim
Line 2: Line 2:
-->{{module other|{{ombox|type=notice|image=[[File:Template-protection-shackle.svg|40x40px|link=|alt=Protected]]|text=Edits to this page are restricted to [[Wikipedia:template editor|template editor]]s because it is frequently edited by mistake. If you want to test a module, see the instructions below or use [[Module:Module sandbox]]; do not edit this page itself.}}}}
-->{{module other|{{ombox|type=notice|image=[[File:Template-protection-shackle.svg|40x40px|link=|alt=Protected]]|text=Edits to this page are restricted to [[Wikipedia:template editor|template editor]]s because it is frequently edited by mistake. If you want to test a module, see the instructions below or use [[Module:Module sandbox]]; do not edit this page itself.}}}}
{{not a sandbox}}
{{not a sandbox}}
== Scribd testing area ==
== Scribunto testing area ==


This is not an actual [[WP:Lua|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.
This is not an actual [[WP:Lua|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.
Line 10: Line 10:
Module:Sandbox/<var>Your User Name</var>
Module:Sandbox/<var>Your User Name</var>
<inputbox>
<inputbox>
type=revoke
type=create
preload=Module:Sandbox/new
preload=Module:Sandbox/new
editintro=Template:New module editintro
editintro=Template:New module editintro
prefix=Module:Sandbox/
prefix=Module:Sandbox/
placeholder=Insert your username here
placeholder=Insert your username here
button label=Create new sandbox module= false
button label=Create new sandbox module
</inputbox>
</inputbox>
If you need more Module sandboxes, create subpages of the sandbox thus created.
If you need more Module sandboxes, create subpages of the sandbox thus created.

Revision as of 00:23, 24 December 2024

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.

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.