Template:Year in US state category/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Purpose[change source]

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).

Syntax[change source]

{{Year in US state category}}

No parameters are needed, and none are available

Error-checking[change source]

The template checks that the page:

  1. is a category
  2. 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: