Template:User sandbox/doc

From MozillaWiki
Jump to: navigation, search
Edit-copy green.svg
This is a documentation subpage for Template:User sandbox.
It contains usage information, categories and other content that is not part of the original template page.

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 MozillaWiki project page.

Usage

Basic usage (shown above)

{{user sandbox}}

Plain version

{{user sandbox|plain=yes}}

All parameters

{{user sandbox|Username|plain=all|list=Custom list of sandboxes (e.g. [[Examplelink1|bigbox]], [[Examplelink2|smallbox]] and [[Examplelink3|mybox]])|noindex=yes|demospace=User}}

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. [[User:Example/Sandbox1]], [[User:Example/Sandbox2]].
  • noindex - by default, pages with this template transcluded on them are not indexed by search engines. If this parameter is set to anything other than "yes", indexing by search engines is allowed.
  • demospace - if this is set to the name of a MozillaWiki namespace, the template acts as if it was transcluded in that namespace no matter what the actual current namespace is. This is useful for demonstration purposes.