Difference between revisions of "Template:Category U.S. State elections by year"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(good idea, but let's use a subtemplate to avoid having to recompute the place and year dozens of times)
 
imported>GoldRingChip
m (GoldRingChip moved page Template:Category elections by year to Template:Category U.S. State elections by year: To make it clear that it's just for U.S. States)
(No difference)

Revision as of 19:34, 6 March 2013

50px Template documentation[view] [edit] [history] [purge]

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

e.g.

Usage

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

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
  • [[Category:YEAR in PLACE]], with a sort key of "Elections"

To suppress categorization, use |nocategories=y.