แม่แบบ:หมวดหมู่ของฉบับร่าง
![]() | แม่แบบนี้ใช้ลูอา |
This template can be used when non-article pages like drafts and user pages have categories meant for articles. The categories will be displayed but the page will not be added to the categories. If the page is moved to mainspace then the categories will automatically work as normal but the template should be removed.
Usage แก้
Wrap categories in this code:
{{Draft categories|1= ... }}
Sort keys and leading colons are allowed in the categories. Only use this template around a list of categories and not around a whole page or transclusion. {{Suppress categories}} can be used for that.
Tracking category แก้
The category หมวดหมู่:Articles using draft categories tracks pages that are using the template in the main namespace. This template should be removed from those articles.
Example แก้
{{Draft categories|1= [[:หมวดหมู่:ตัวละครในสตาร์ วอร์ส| ]] [[:หมวดหมู่:สตาร์ วอร์ส]] }}
The output looks similar to the real display of categories on normal pages. The above produces:
TemplateData แก้
ข้อมูลแม่แบบสำหรับ หมวดหมู่ของฉบับร่าง (ยังไม่มีการตรวจสอบ)
Stores and displays article categories in drafts without adding them to the category
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
รายการหมวดหมู่ | 1 | ไม่มีคำอธิบาย
| เนื้อหา | จำเป็น |
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:หมวดหมู่ของฉบับร่าง/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |