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

From blackwiki
Jump to navigation Jump to search

Creates a category of the form "XXth-century nationality television series debuts" or "XX nationality television series endings", where XX is a 2-digit century 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.

Usage

{{Century 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:

Script error: No such module "Purge".

Errors include:

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

Template:Television chronology category header templates