Template:User sandbox/en

From Linux Web Expert

Revision as of 16:53, 21 May 2020 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template documentation

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

Basic usage (shown above)
{{user sandbox}}
Plain version
{{user sandbox|plain=yes}}
All parameters
{{user sandbox|Username|plain=all|list=[[Personalization|Custom]] [[WP:USERSUBPAGE|list]] of [[Help:My sandbox|sandboxes]]|selectskin=yes|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]].
  • 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

This is the TemplateData documentation for this template used by VisualEditor and other tools.

User sandbox/en

<templatedata>{ "description":{ "en": "This template creates a box marking the current page as a user sandbox.", "cs": "Tato šablona vytvoří rámeček označující aktuální stránku jako uživatelské pískoviště." }, "params": { "1": { "label": { "en": "Username", "cs":"Uživatelské jméno" }, "description": { "en": "The username of the editor who owns the page. If the page is in that editor's userspace, this parameter is optional.", "cs": "Uživatelské jméno editora, který stránku vlastní. Pokud je stránka v uživatelském prostoru daného editora, je tento parametr volitelný." }, "type": "string/wiki-user-name", "required": false }, "plain": { "label": { "en": "Plain", "cs": "Viditelné" }, "description": { "en": "If set to 'all', this hides all of the extra links. If set to something else, this hides nearly all of the extra links.", "cs": "Je-li nastaveno na 'all', skryje všechny další odkazy. Pokud je nastaveno na něco jiného, skryje téměř všechny další odkazy." }, "type": "string", "required": false }, "list": { "label": { "en": "List", "cs": "Seznam" }, "description": { "en": "Can be set to a list of other sandboxes owned by this editor. Optional.", "cs": "Lze nastavit na seznam dalších pískovišť vlastněných tímto editorem. Volitelný." }, "type": "string", "required": false }, "selectskin": { "label": { "en": "Show skin selector", "cs": "Zobrazit výběr vzhledu" }, "description": { "en": "Set to 'yes' to include a menu for displaying the sandbox with different skins.", "cs": "Nastavením na 'yes' zahrnete nabídku pro zobrazení pískoviště s různými vzhledy." }, "type": "string", "required": false }, "noindex": { "label": { "en": "Hide from search engines", "cs": "Skrýt před vyhledávači" }, "description": { "en": "Set to something other than 'yes' to make this page visible to search engines like Google.", "cs": "Chcete-li tuto stránku zviditelnit pro vyhledávače, jako je Google, nastavte na něco jiného než 'yes'." }, "type": "string", "required": false }, "demospace": { "label": { "en": "Demo namespace", "cs": "Demo jmenný prostor" }, "description": { "en": "Set to a namespace to make this template behave as if it is in that namespace.", "cs": "Nastavte na jmenný prostor, aby se tato šablona chovala, jako by byla v daném jmenném prostoru" }, "type": "string", "required": false } } }</templatedata>