Template:YYYY beginnings or endings category header/doc

From MOASSpedia
< Template:YYYY beginnings or endings category header
Revision as of 05:22, 3 January 2022 by Wikipedia>Gonnym (→‎Redirects: no need to mention or use)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

{{YYYY beginnings or endings category header}}

No parameters needed.

Errors

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"