Template:Dated maintenance category/doc: Difference between revisions

From wikiNonStop
(TemplateData)
 
m (1 revision imported: initial setup)
 
(No difference)

Latest revision as of 08:38, 27 August 2024

Template:DMC redirects to Template:Dated maintenance category.

Usage

Examples

Note

An incorrect date is any date which is not of the form November 2024, e.g. November 14, 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 documentation for this template used by VisualEditor and other tools.

Dated maintenance category

No description.

Template parameters

ParameterDescriptionTypeStatus
Default category name1

The category (without "Category:") if there is no date, but also the stem of the category name when there is a date

Stringrequired
Preposition2

no description

Suggested values
from since in as of
Stringrequired
Date3

Date (month year, e.g. June 2024). Usually the "date" parameter of the calling template

Suggested values
{{{date|}}}
Contentsuggested
Category4

Category all the articles go in, dated or not (if there is one)

Stringoptional
Alternative default category5

Used when parameter 1 is right for forming the dated category, but the undated items need to go somewhere else

Stringoptional
onlyarticlesonlyarticles

({{Dated maintenance category}} only) Used for template design, restricting the function of this template to article namespace (as in {{DMCA}}).

Suggested values
no yes
Default
no
Stringoptional

Related templates