Template:Category U.S. State elections by year/doc

This template is used as a category header for election by year categories for state elections in the United States.

e.g.
 * Category:1788 Delaware elections ✅
 * Category:1812 Maryland elections ✅
 * Category:2006 Hawaii elections ✅

Usage
Just use:

Both the place and the year are derived automatically, from the category name.

To override place and year, use (place) and (year).

Automatic categorization
The template automatically adds the transcluding page to the following categories:
 * , with a sort key of PLACE
 * , with a sort key of YEAR
 * In the case of Washington, D.C., this category is: Category:Elections in Washington, D.C., by year
 * , with a sort key of "Elections"

To suppress categorization, use y.