Template:Nationality television episodes by decade category
From The Right Wiki
Jump to navigationJump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
File:Ambox warning yellow.svg | 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 "nationality television episodes by decade", where nationality is a valid nationality. e.g.
- Category:Canadian television episodes by decade Green tick
- Category:British television episodes by decade Green tick
- Category:Australian television episodes by decade Green tick
It is not for use on other categories, e.g.
- Category:Australian television episodes Red X
- Category:Canadian television episodes by year Red X
- Category:2017 American television episodes Red X
Usage
{{Nationality television episodes by decade 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:
Errors include:
- The page is not in the category namespace
- The page's title does not take the form "nationality television episodes by decade"
- 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