แม่แบบ:Dated maintenance category (files, articles, categories, and templates)
หน้าตา
การใช้งาน
[แก้]- 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 หมวดหมู่:บทความที่เรียกใช้แม่แบบโดยใส่วันที่ไม่ถูกต้อง
วากยสัมพันธ์
[แก้]- Parameter 1: Default category name (without
Category). - Parameter 2: Preposition (from, since, in, as of).
- Parameter 3: Date (month year, e.g. มิถุนายน 2026. 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).
ด้านเทคนิค
[แก้]The parameter onlyarticles is used for template design, restricting the function of this template to article namespace (as in {{DMCA}} ).
ตัวอย่าง
[แก้]{{DMCA|Articles to be split|from|{{{date|}}}|All articles to be split}}will categorise all articles in Category:Articles to be split from พฤษภาคม 2026, if the date is set พฤษภาคม 2026 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 หมวดหมู่:บทความทั้งหมดที่ควรแยก.
{{DMCA|||Dutch mathematicians}}is the straight category Category:Dutch mathematicians.
หมายเหตุ
[แก้]An incorrect date is any date which is not of the form มิถุนายน 2026, e.g. มิถุนายน 15, 2026, or june instead of June, or other spelling mistakes.
แม่แบบที่เกี่ยวข้อง
[แก้]- {{DMC}}
- {{DMCA}}
- {{Dated maintenance category}}