Template:Year nationality television series debuts or endings category/doc

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

edit

{{Year nationality television series debuts or endings category}}

No parameters needed

Errors

edit

If the template is used on an invalid page, an error message is generated and the page is categorised in:

Purge this page to update the totals

Errors include:

  • The page is not in the category namespace
  • The page's title does not take the form "YYYY nationality television series debuts" or "YYYY nationality television series endings"
  • 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