Template:Century nationality television series category/doc
| This is a documentation subpage for Template:Century nationality television series category. It contains usage information, categories and other content that is not part of the original template page. |
| 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. |
Creates a category of the form "XXth-century nationality television series", where XX is a 2-digit century and nationality is a valid nationality.
e.g.
- Category:20th-century Australian television series

- Category:20th-century Irish television series

- Category:21st-century Japanese television series

- Category:21st-century Chinese television series

Usage
<syntaxhighlight lang="wikitext" inline>This page is not a category!
Template:Century nationality television series is for use only on category pages whose title is of the form "XXth-century Fooish television series", where XX is a 2-digit century 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:
Errors include:
- The page is not in the category namespace
- The page's title does not take the form "XXth-century nationality television series"
- 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