Template:Year nationality television episodes category/doc
Appearance
This is a documentation subpage for Template:Year nationality television episodes category. It may contain 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. 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 "YYYY nationality television episodes", where YYYY is a 4-digit year and nationality is a valid nationality.
e.g.
- Category:2011 American television episodes
- Category:1959 Australian television episodes
- Category:1967 British television episodes
Usage
[edit]{{Year nationality television episodes category}}
No parameters needed
Errors
[edit]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 "YYY0s nationality television episodes"
- 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