This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and
parser functions before editing the template. If your edit causes unexpected problems, please
undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template is used on approximately 4,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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.
{{YYYY beginnings or endings category header}}
No parameters needed.
If this template is used on an invalid page, then an error message is displayed, and the page is categorised in a tracking category:
Errors include: