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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(Created page with '<includeonly>{{Category U.S. State elections by decade/core | place = {{{place|{{str sub new|{{BASEPAGENAME}}|6|-10}}}}} | decade = {{{decade|{{Str left|{{PAGENA...')
 
imported>MusikBot II
m (Protected "Template:Category U.S. State elections by decade": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
(No difference)

Latest revision as of 17:59, 1 September 2020

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

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.