แม่แบบ:Dated maintenance category
(เปลี่ยนทางจาก แม่แบบ:DMC)
[[หมวดหมู่:{{{1}}}]]
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. มิถุนายน 2024. 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 พฤษภาคม 2024, if the date is set พฤษภาคม 2024 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 มิถุนายน 2024, e.g. มิถุนายน 12, 2024
, or june
instead of June
, or other spelling mistakes.
Related templates
แก้- {{DMC}}
- {{DMCA}}
- {{Dated maintenance category}}
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Dated maintenance category/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |