Template:Nationality television series debuts or endings by decade 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. 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 "nationality television series debuts by decade", where 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.
- Category:Danish television series debuts by decade
- Category:Irish television series endings by decade
But not
- Category:Colombian television series debuts
- Category:Mexican television series endings by year
- Category:2011 Israeli television series debuts
- Category:1990s Canadian television series endings
Usage
change{{Nationality television series debuts by decade category}}
No parameters needed
Errors
changeIf 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 form "nationality television series debuts by decade" or "nationality television series endings by decade"
- 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