Template:Year nationality television series debuts or endings category
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. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This template is used on approximately 4,100 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Creates a category of the form "YYYY nationality television series debuts" or "YYYY nationality television series endings", where YYYY is a 4-digit year and nationality is a valid nationality.
The template detects whether it is being used on a "debuts" or "endings" category, and adjusts its output to suit.
e.g.
It is not for use on other types of categories, e.g.
Usage
{{Year nationality 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:
- Category:Template Year nationality television series debuts or endings category on invalid page (population: 0)
Errors include:
- The page is not in the category namespace
- The page's title does not take the form form "YYY0s nationality television series debuts" or "YYY0s nationality television series endins"
- The value of "nationality" does not correspond to a country name. The conversion is made using {{GetCountryNameFromAdjective}}, so the problem may be a glitch in that template's lookup table
Template:Television chronology category header templates
The above documentation is transcluded from Template:Year nationality television series debuts or endings category/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |