แม่แบบ:หน้าทดลองเขียนของผู้ใช้

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]


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.

Usage

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

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]]. Use of this parameter also changes "the sandbox" to "a 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 text "If you are writing an article, and are ready to request its creation, click here" 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 Wikipedia content.
  • demospace - if this is set to the name of a Wikipedia 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 template creates a box marking the current page as a user sandbox.

[จัดการข้อมูลแม่แบบ]

พารามิเตอร์แม่แบบ

พารามิเตอร์คำอธิบายชนิดสถานะ
Username1

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

ผู้ใช้เลือกได้
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.

สตริงเลือกได้
Listlist

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

สตริงเลือกได้
Show skin selectorselectskin

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

สตริงเลือกได้
Show AFC noticeafc

Set to 'no' to hide the AFC notice ('If you are writing an article...'), which is shown by default.

สตริงเลือกได้
Hide from search enginesnoindex

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

สตริงเลือกได้
Demo namespacedemospace

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

สตริงเลือกได้

แม่แบบ:Userspace Disclaimers