Template:Year in US territory category/sandbox
Appearance
![]() | This is the template sandbox page for Template:Year in US territory category (diff). |
Purpose
[edit]This template is intended to be used on year in US territory categories (for example, Category:1778 in the Northwest Territory or Category:1827 in Florida Territory). It creates a "timeline" style table of links to categories for adjacent years before or after it in the same decade (see example below).
Syntax
[edit]{{Year in US territory category}}
No parameters are needed, and none are available.
Error-checking
[edit]The template checks that the page:
- is a category
- has a title of the form "YYYY in Foo"
If either of those conditions is not met, an error message is displayed and no other output is generated, but the page is added to a tracking category:
- Category:Errors reported by other category header templates (population: 3)
Note that this category is also used by many other category header templates