Template:Year in nationality television category/sandbox
![]() | This is the template sandbox page for Template:Year in nationality television category (diff). |
![]() | This template is used on approximately 3,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Creates a category of the form "YYYY in nationality television", where YYYY is a 4-digit year and nationality is a valid nationality.
e.g.
- Category:1957 in American television
- Category:1964 in Dutch television
- Category:2013 in Irish television
Usage
edit{{Year in nationality television category}}
No parameters needed
Errors
editIf 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 "YYYY in nationality television"
- 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