Template:YYYY beginnings or endings category header/doc
Appearance
This is a documentation subpage for Template:YYYY beginnings or endings category header. It may contain usage information, categories and other content that is not part of the original template page. |
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.
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:
- Category:Errors reported by other category header templates (population: 1 pages)
Note that this tracking page is shared with other category header templates)
Errors include:
- The page is not in the category namespace
- The page's title does not take the form "YYYY beginnings" or "YYYY endings"