Template:Dated maintenance category/doc

From Simulacrum Wiki
Revision as of 15:29, 23 June 2024 by 184.147.229.55 (talk) (TemplateData)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Examples

Note

An incorrect date is any date which is not of the form November 2024, e.g. November 22, 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