Template:Year in US state category/doc
Appearance
This is a documentation subpage for Template:Year in US state category. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 9,500 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. |
About
[edit]This template is intended to be used on year in US state categories (for example, Category:2008 in Arizona or Category:1938 in South Carolina). It creates a "timeline" style table of links to categories for adjacent years before or after it in the same decade (see example below).
Usage
[edit]{{Year in US state 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
See also
[edit]