Template:Decade nationality television seasons category

Documentation icon Template documentation[view] [edit] [history] [purge]

Creates a category of the form "YYY0s nationality television seasons", where YYY0s is a 4-digit decade and nationality is a valid nationality.

e.g.

Usage

<syntaxhighlight lang="wikitext" inline>This is not a category page.
Template:Decade nationality television seasons is for use only on category pages whose title is of the form "YYY0s Fooish television seasons", where YYY0s is a 4-digit decade and "Fooish" is a nationality (e.g. "Russian" or "Egyptian")
</syntaxhighlight>

No parameters needed

Errors

If the template is used on 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 "YYY0s nationality television seasons"
  • 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