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. |
Creates a category of the form "YYYY television plays", where YYYY is a 4-digit year.
e.g.
It is not for use on other types of categories, e.g.
- Category:1990s television plays
- Category:1937 in television
- Category:1975 in television by country
- Category:2004 plays
Usage
edit{{Year television plays category}}
No parameters needed
Errors
editIf the template is used on an invalid page, an error message is generated and the page is categorised in:
Errors include:
- The page is not in the category namespace
- The page's title does not take the form "YYYY television plays"