Predloga:Uporabnikov peskovnik

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

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.

Usage[uredi kodo]

Basic usage (shown above)
{{Uporabnikov peskovnik}}
Plain version
{{Uporabnikov peskovnik|plain=yes}}
All parameters
{{Uporabnikov peskovnik|Uporabniško ime|plain=all|list=Prilagojen [[WP:UP|seznam]] peskovnikov|selectskin=yes|noindex=yes|demospace=User}}

Parameters[uredi kodo]

  • 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. [[Uporabnik:Zgled/Peskovnik1]], [[Uporabnik:Zgled/Peskovnik2]].
  • selectskin - if this is set to "yes", a menu appears allowing you to select different skins to use with the sandbox.
  • 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 Wikipedia 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.

Template data[uredi kodo]

To je TemplateData dokumentacija za predlogo, ki jo uporablja VisualEditor in druga orodja;glejte mesečno napakovno poročilo za to predlogo.

TemplateData za Uporabnikov peskovnik

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
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