Template:Category U.S. State elections by year/doc
Appearance
This is a documentation subpage for Template:Category U.S. State elections by year. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 7,400 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. |
This template is used as a category header for election by year categories for state elections in the United States.
e.g.
Usage
[edit]Just use: {{Category U.S. State elections by year}}
Both the place and the year are derived automatically, from the category name.
To override place and year, use |place=(place)
and |year=(year)
.
Automatic categorization
[edit]The template automatically adds the transcluding page to the following categories:
- [[Category:YEAR elections in the United States by state]], with a sort key of PLACE
- [[Category:PLACE elections by year]], with a sort key of YEAR
- In the case of Washington, D.C., this category is: Category:Elections in Washington, D.C., by year
- [[Category:YEAR in PLACE]], with a sort key of "Elections"
To suppress categorization, use |nocategories=y
.
Tracking categories
[edit]- Category:Template Category U.S. State elections by year with place parameter (8)
- Category:Template Category U.S. State elections by year with place parameter not matching title place (8)
- Category:Template Category U.S. State elections by year with year parameter (0)
- Category:Template Category U.S. State elections by year with year parameter not matching title year (0)
See also
[edit]