Template:Category U.S. State elections by decade/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Category U.S. State elections by decade. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 1,000 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.
Transclusion count updated automatically (see documentation). |
This template is used as a category header for election by decade categories for state elections in the United States.
e.g.
Usage
Just use: {{Category U.S. State elections by decade}}
Both the place and the year are derived automatically, from the category name.
To override place and year, use |place=(place)
and |decade=(decade)
.
Automatic categorization
The template automatically adds the transcluding page to the following categories:
- [[Category:DECADE elections in the United States by state]], with a sort key of PLACE
- [[Category:PLACE elections by decade]], with a sort key of YEAR
- [[Category:DECADE in PLACE]], with a sort key of "Elections"
To suppress categorization, use |nocategories=y
.