Misplaced Pages

Template:User sandbox/sandbox: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:User sandbox Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 19:37, 22 September 2023 editHalleywelly (talk | contribs)3 edits Blanked the pageTags: Blanking Manual revert← Previous edit Revision as of 16:57, 31 January 2024 edit undoSdkb (talk | contribs)Administrators81,286 edits syncing manually to live versionNext edit →
Line 1: Line 1:
{{user other
| 1 =
{{Ombox
|type = notice
|image = ]
|class = noprint
|text =
<div><!--
-->This is {{#if:{{{list|}}}{{{a|}}}|a|the}} user ] of ''']'''. <!--
-->A user sandbox is a subpage of the user's ]. <!--
-->It serves as a testing spot and page development space for the user and is '''not an encyclopedia article'''. <!--
-->{{#ifeq: {{{plain|}}} | all
| <!--blank-->
| <small>Create or edit your own sandbox .</small>
}}<!--
-->{{#if: {{{list|}}}
| <br/>This user's sandboxes: {{{list}}}
}}<!--
-->{{#if: {{{plain|}}}
| <!--blank-->
| <p><!--
-->Other sandboxes: <!--
-->] &#x7c; <!--
-->]<!--
--></p>
}}<!--
--></div><!--

-->{{#if: {{{selectskin|}}}
| <div style="font-size:x-small; text-align:center;">{{selectskin}}</div>
}}<!--
-->{{#ifeq: {{{afc|}}} | no
| <!-- blank -->
| {{#if: {{{plain|}}}
| <!-- blank -->
| <hr />{{#invoke:AfC submission catcheck|submitted
| This draft has been submitted and is currently awaiting review.
| Finished writing a draft article? Are you ready to request review of it by an experienced editor for possible inclusion in Misplaced Pages? {{#if: {{REVISIONID}}<noinclude>0</noinclude>
| <span class="afc-draft-submit-button">{{Clickable button 2|Submit your draft for review!|url={{fullurl:Misplaced Pages:Articles_for_creation/Submitting|withJS=MediaWiki:AFC-submit-wizard.js&page={{FULLPAGENAMEE}}}}|class=mw-ui-progressive|style=line-height: 1.9em; padding: 0 1.6em 0 1.6em}}</span>
| Save your work by pressing the "<bdi>{{int:Publishpage}}</bdi>" button below, and a button will appear here allowing you to submit your draft for review.
}}
}}
}}
}}<!--
-->{{#ifeq:{{{noindex|yes}}}|yes| __NOINDEX__ }}

}}
| 2 = {{draft other|1= |2= {{error|This sandbox is in the {{#if:{{NAMESPACE}}|{{NAMESPACE}}|article}} namespace. Either ] this page into your ], or remove the {{tp|User sandbox}} template.}}|demospace = {{{demospace|}}} }}<includeonly>]</includeonly>
| demospace = {{{demospace|<noinclude>user</noinclude>}}}
}}<noinclude>

{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>

Revision as of 16:57, 31 January 2024

This is the user sandbox of User sandbox. A user sandbox is a subpage of the user's user page. It serves as a testing spot and page development space for the user and is not an encyclopedia article. Create or edit your own sandbox here.

Other sandboxes: Main sandbox | Template sandbox


Finished writing a draft article? Are you ready to request review of it by an experienced editor for possible inclusion in Misplaced Pages? Submit your draft for review!
This is the template sandbox page for Template:User sandbox (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 308,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.
This page is not a sandbox.
It should not be used for test editing. To experiment, please use the Misplaced Pages 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 Misplaced Pages 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.

Usage

Basic usage (shown above)

{{user sandbox}}

Plain version

{{user sandbox|plain=yes}}
This is the user sandbox of User sandbox. A user sandbox is a subpage of the user's user page. It serves as a testing spot and page development space for the user and is not an encyclopedia article. Create or edit your own sandbox here.

Complex example

{{user sandbox|Username|plain=all|list=] ] of ]|selectskin=yes|afc=no|demospace=User}}
This is a user sandbox of Username. A user sandbox is a subpage of the user's user page. It serves as a testing spot and page development space for the user and is not an encyclopedia article.
This user's sandboxes: Custom list of sandboxes

Parameters

  • The first positional parameter is the username of the editor the sandbox belongs to. This is not necessary if the sandbox is located in that user's userspace.
  • plain - this removes most of the extra links. If this is equal to "all", only the basic message is left. If this parameter is present but not equal to "all", the text "For a sandbox of your own, create it here" is still visible.
  • list - a list of your user sandboxes can be inserted here. This needs to be done with square brackets, e.g. ], ]. 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}}.
  • a=yes - changes "the sandbox" to "a sandbox", without having to use the "list" parameter above.
  • selectskin=yes - a menu appears allowing you to select different skins to use with the sandbox.
  • afc=no - the articles for creation text "Finished writing a draft article? Are you ready to request an experienced editor review it for possible inclusion in Misplaced Pages? " is suppressed. This parameter is unnecessary if the |plain= parameter is specified.
  • noindex=no - indexing by search engines will be allowed (by default, noindex is "yes", i.e. pages with this template transcluded on them are not indexed by search engines). This parameter should almost always be omitted, because sandboxes should not be indexed as Misplaced Pages content.
  • demospace - if this is set to the name of a Misplaced Pages namespace, the template acts as if it were transcluded in that namespace no matter what the actual current namespace is. This is useful for demonstration purposes.

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:User sandbox in articles based on its TemplateData.

TemplateData for User sandbox

This template creates a box marking the current page as a user sandbox.

Template parameters

ParameterDescriptionTypeStatus
Username1

The username of the editor who owns the page. If the page is in that editor's userspace, this parameter is optional.

Useroptional
Plainplain

If set to 'all', this hides all of the extra links. If set to something else, this hides nearly all of the extra links.

Stringoptional
Listlist

Can be set to a list of other sandboxes owned by this editor. Optional.

Stringoptional
Show skin selectorselectskin

Set to 'yes' to include a menu for displaying the sandbox with different skins.

Stringoptional
Show AFC noticeafc

Set to 'no' to hide the AFC notice ('Finished writing a draft article? Are you ready...'), which is shown by default.

Stringoptional
Hide from search enginesnoindex

Set to something other than 'yes' to make this page visible to search engines like Google.

Stringoptional
Demo namespacedemospace

Set to a namespace to make this template behave as if it is in that namespace.

Stringoptional
Userspace messages and disclaimers
User pages
User talk pages
Editnotices
Drafts and sandboxes
Blanking
The above documentation is transcluded from Template:User sandbox/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: