Template:Dated maintenance category

From Simulacrum Wiki
Jump to navigation Jump to search

[[Category:{{{1}}}]]

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.

Usage

Examples

Note

An incorrect date is any date which is not of the form December 2024, e.g. December 26, 2024, or june instead of June, or other spelling mistakes.

Etymology

DMCA stands for "dated maintenance category – articles". Similar templates exist for certain other namespaces or combinations. DMCA is a metatemplate with highly circumscribed use, and not intended to be "editor facing".

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Dated maintenance category in articles based on its TemplateData.

TemplateData for Dated maintenance category

<templatedata> { "params": { "1": { "label": "Default category name", "description": "The category (without \"Category:\") if there is no date, but also the stem of the category name when there is a date ", "type": "string", "required": true }, "2": { "label": "Preposition", "type": "string", "suggestedvalues": [ "from", "since", "in", "as of" ], "required": true }, "3": { "label": "Date", "description": "Date (month year, e.g. June 2024). Usually the \"date\" parameter of the calling template", "type": "content", "suggestedvalues": [ "" ], "suggested": true }, "4": { "label": "Category", "description": "Category all the articles go in, dated or not (if there is one)", "type": "string" }, "5": { "label": "Alternative default category", "description": "Used when parameter 1 is right for forming the dated category, but the undated items need to go somewhere else", "type": "string" }, "onlyarticles": { "description": "([[Category:{{{1}}}]] only) Used for template design, restricting the function of this template to article namespace (as in ).", "type": "string", "suggestedvalues": [ "no", "yes" ], "default": "no" } } }</templatedata>

Related templates


Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Dated maintenance category]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Template:Dated maintenance category/install.