Template:Year animated television series debuts or endings category
From The Right Wiki
Jump to navigationJump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
File:Ambox warning yellow.svg | 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 animated television series debuts" or "YYYY animated television series endings", where YYYY is a 4-digit year. The template detects whether it is being used on a "debuts" or "endings" category, and adjusts its output to suit. e.g.
- Category:2004 animated television series debuts Green tick
- Category:2021 animated television series endings Green tick
It is not for use on other types of categories, e.g.
- Category:2000s animated television series debuts Red X
- Category:2008 television series endings Red X
Usage
{{Year animated television series debuts or endings category}}
No parameters needed
Errors
If 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 animated television series debuts" or "YYYY animated television series endings"