Template:Dated maintenance category/doc

From Saintapedia
< Template:Dated maintenance category
Revision as of 07:59, 13 September 2024 by Tom (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Shortcut:
Template:DMC

Usage

Syntax

  • Parameter 1: Default category name (without Category) - the category if there is no date, but also the stem of the category name when there is a date..
  • Parameter 2: Preposition (from, since, in, as of).
  • Parameter 3: Date (month year, e.g. January 2025. Usually the "date" parameter of the calling template {{{date|}}}.
  • Parameter 4: Category all the articles go in, dated or not (if there is one).
  • Parameter 5: Alternative default category, used when parameter 1 is right for forming the dated category, but the undated items need to go somewhere else.

Technical

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

Examples

Note

An incorrect date is any date which is not of the form January 2025, e.g. January 23, 2025, or june instead of June, or other spelling mistakes.

Related templates

Template data

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

No description.

Template parameters

ParameterDescriptionTypeStatus
Default category name (without Category)1

the category if there is no date, but also the stem of the category name when there is a date

Unknownoptional
Preposition2

from, since, in, as of

Unknownoptional
Date3

month year, e.g. May 2019. Usually the "date" parameter of the calling template {{{date|}}}

Unknownoptional
Category all the articles go in4

Dated or not (if there is one)

Unknownoptional
Alternative default category5

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

Unknownoptional