แม่แบบ:หน้าทดลองเขียนของผู้ใช้
![]() | นี่คือหน้าทดลองเขียนของ หน้าทดลองเขียนของผู้ใช้ หน้าทดลองเขียนเป็นหน้าย่อยของหน้าผู้ใช้ ซึ่งผู้ใช้มีไว้ทดลองเขียนหรือไว้พัฒนาหน้าต่าง ๆ แต่นี่ไม่ใช่หน้าบทความสารานุกรม ทดลองเขียนได้ที่นี่ หน้าทดลองเขียนอื่น ๆ: หน้าทดลองเขียนหลัก |
![]() | นี่เป็นแม่แบบที่ถูกป้องกันถาวรเนื่องจากมีความเสี่ยงสูง กรุณาอภิปรายการเปลี่ยนแปลงใด ๆ ทางหน้าคุย คุณอาจส่งคำขอแก้ไขไปยังผู้ดูแลระบบเพื่อให้แก้ไขได้หากเป็นการแก้ไขที่ไม่มีการคัดค้านหรือมีความเห็นพ้องสนับสนุน คุณยังสามารถขอให้เลิกป้องกันหน้าได้ |
![]() | หน้านี้ไม่ใช่กระบะทราย หน้านี้ไม่ควรถูกใช้สำหรับการทดสอบการเขียนหรือการทดลองใด ๆ กรุณาใช้หน้าทดลองเขียนแทน หรือที่หน้าทดลองเขียนของผู้ใช้ |
![]() | มีการใช้แม่แบบนี้ใน หลายหน้า เพื่อหลีกเลี่ยงผลกระทบกว้างขวางและลดภาระของเซิร์ฟเวอร์ ก่อนแก้ไขแม่แบบนี้ จึงควรทดลองที่กระบะทราย, หน้าทดสอบ หรือพื้นที่ส่วนตัวของคุณ จนมั่นใจว่าไม่มีปัญหา อนึ่ง อภิปรายเกี่ยวกับการแก้ไขแม่แบบได้ที่หน้าอภิปราย |
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.
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
Username | 1 | The username of the editor who owns the page. If the page is in that editor's userspace, this parameter is optional. | ผู้ใช้ | เลือกได้ |
Plain | plain | If set to 'all', this hides all of the extra links. If set to something else, this hides nearly all of the extra links. | สตริง | เลือกได้ |
List | list | Can be set to a list of other sandboxes owned by this editor. Optional. | สตริง | เลือกได้ |
Show skin selector | selectskin | Set to 'yes' to include a menu for displaying the sandbox with different skins. | สตริง | เลือกได้ |
Show AFC notice | afc | Set to 'no' to hide the AFC notice ('If you are writing an article...'), which is shown by default. | สตริง | เลือกได้ |
Hide from search engines | noindex | Set to something other than 'yes' to make this page visible to search engines like Google. | สตริง | เลือกได้ |
Demo namespace | demospace | Set to a namespace to make this template behave as if it is in that namespace. | สตริง | เลือกได้ |
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:หน้าทดลองเขียนของผู้ใช้/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |