แม่แบบ:DMCA
Usage[แก้]
- This template adds a category or dated category to a page.
- It will add the page to an optional additional category.
- If the dated category is invalid it will add the page to หมวดหมู่:บทความที่เรียกใช้แม่แบบโดยใส่วันที่ไม่ถูกต้อง
Syntax[แก้]
- Parameter 1: Default category name (without
Category
). - Parameter 2: Preposition (from, since, in, as of).
- Parameter 3: Date (month year, e.g. มีนาคม 2023. Usually the "date" parameter of the calling template
{{{date|}}}
. - Parameter 4: All inclusive category name.
- Parameter 5: Alternative default category (overrides 1 which is then only used to construct the dated category if it exists).
Technical[แก้]
The parameter onlyarticles is used for template design, restricting the function of this template to article namespace (as in {{DMCA}} ).
Example[แก้]
{{DMCA|Articles to be split|from|{{{date|}}}|All articles to be split}}
will categorise all articles in Category:Articles to be split from กุมภาพันธ์ 2023, if the date is set กุมภาพันธ์ 2023 e.g. If such a category does not exist, or the date was set incorrectly, this template will also add the article to หมวดหมู่:บทความที่เรียกใช้แม่แบบโดยใส่วันที่ไม่ถูกต้อง. In either case the article will be added to Category:All articles to be split.
{{DMCA|||Dutch mathematicians}}
is the straight category Category:Dutch mathematicians.
Note[แก้]
An incorrect date is any date which is not of the form มีนาคม 2023, e.g. มีนาคม 17, 2023
, or june
instead of June
, or other spelling mistakes.
Related templates[แก้]
- {{DMC}}
- {{DMCA}}
- {{Dated maintenance category}}
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Dated maintenance category/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ หน้าย่อยของแม่แบบนี้ |