![]() | This is the template sandbox page for Template:User sandbox (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 304,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Preview message: Transclusion count updated automatically (see documentation). |
![]() | 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 the other sandboxes. |
This template is for placement at the top of sandbox pages in the User namespace so that readers understand it is not an active/live article or Wikipedia project page.
Non-userspace uses of this template are tracked in Category:Non-userspace pages using User sandbox.
It is used by Template:User sandbox/preload, the default text preloaded (by MediaWiki:Gadget-mySandbox.js) when a user creates their sandbox.
Basic usage (shown above)
{{user sandbox}}
Plain version
{{user sandbox|plain=yes}}
Complex example
{{user sandbox|Username|plain=all|list=[[Personalization|Custom]] [[WP:USERSUBPAGE|list]] of [[Help:My sandbox|sandboxes]]|selectskin=yes|afc=no|demospace=User}}
[[User:Example/Sandbox1]], [[User:Example/Sandbox2]]
. Use of this parameter also changes "the sandbox" to "a sandbox". For an automatically-generated list of your sandboxes, you can use {{Special:PrefixIndex}}
. For example, if your sandboxes are titled as "sandbox", "sandbox2", etc, you can use list={{Special:PrefixIndex/User:{{ROOTPAGENAME}}/sandbox}}
.|plain=
parameter is specified.TemplateData for User sandbox
This template creates a box marking the current page as a user sandbox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | The username of the editor who owns the page. If the page is in that editor's userspace, this parameter is optional. | User | optional |
Plain | plain | If set to 'all', this hides all of the extra links. If set to something else, this hides nearly all of the extra links. | String | optional |
List | list | Can be set to a list of other sandboxes owned by this editor. Optional. | String | optional |
Show skin selector | selectskin | Set to 'yes' to include a menu for displaying the sandbox with different skins. | String | optional |
Show AFC notice | afc | Set to 'no' to hide the AFC notice ('Finished writing a draft article? Are you ready...'), which is shown by default. | String | optional |
Hide from search engines | noindex | Set to something other than 'yes' to make this page visible to search engines like Google. | String | optional |
Demo namespace | demospace | Set to a namespace to make this template behave as if it is in that namespace. | String | optional |