Template:YYYY beginnings or endings category header/doc

From Wikipedia, the free encyclopedia

Creates a category of the form "YYYY beginnings" or "YYYY endings", where YYYY is a 2-, 3- or 4-digit year.

e.g.

The template detects whether the page is a "beginnings" or "endings" category, and configures the output accordingly.

Usage[edit]

{{YYYY beginnings or endings category header}}

No parameters needed.

Errors[edit]

If this template is used on an invalid page, then an error message is displayed, and the page is categorised in a tracking category:

Purge this page to update the totals

Errors include:

  • The page is not in the category namespace
  • The page's title does not take the form "YYYY beginnings" or "YYYY endings"