แม่แบบ:หมวดหมู่ของฉบับร่าง

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

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.

หมวดหมู่ติดตาม[แก้]

หมวดหมู่:บทความที่ใช้แม่แบบหมวดหมู่ฉบับร่าง ติดตามหน้าที่ใช้แม่แบบในเนมสเปซหลัก ควรลบแม่แบบนี้ออกจากบทความเหล่านั้น

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

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

This template prefers block formatting of parameters.

พารามิเตอร์คำอธิบายชนิดสถานะ
รายการหมวดหมู่1

ไม่มีคำอธิบาย

ตัวอย่าง
[[หมวดหมู่:Example 1]]
เนื้อหาจำเป็น