Difference between revisions of "Template:2018 United States elections"

From blackwiki
Jump to navigation Jump to search
blackwiki>GoldRingChip
(title spacing; House specials)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = 2018 United States elections
 
| name      = 2018 United States elections
| title    = ([[2017 United States elections|2017 ←]])   [[2018 United States elections|2018 United States elections]]   ([[2019 United States elections|→ 2019]])
+
| title    = ([[2017 United States elections|2017 ]])   [[2018 United States elections|2018 United States elections]]   ([[2019 United States elections|2019]])
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 49: Line 49:
 
* [[2018 United States House of Representatives election in American Samoa|American Samoa]]
 
* [[2018 United States House of Representatives election in American Samoa|American Samoa]]
 
* [[2018 United States House of Representatives elections in Arizona|Arizona]]
 
* [[2018 United States House of Representatives elections in Arizona|Arizona]]
** [[2018 Arizona's 8th congressional district special election|8th Special]]
+
** [[2018 Arizona's 8th congressional district special election|8th sp]]
 
* [[2018 United States House of Representatives elections in Arkansas|Arkansas]]
 
* [[2018 United States House of Representatives elections in Arkansas|Arkansas]]
 
* [[2018 United States House of Representatives elections in California|California]]
 
* [[2018 United States House of Representatives elections in California|California]]
Line 74: Line 74:
 
* [[2018 United States House of Representatives elections in Massachusetts|Massachusetts]]
 
* [[2018 United States House of Representatives elections in Massachusetts|Massachusetts]]
 
* [[2018 United States House of Representatives elections in Michigan|Michigan]]
 
* [[2018 United States House of Representatives elections in Michigan|Michigan]]
** [[2018 Michigan's 13th congressional district special election|13th Special]]
+
** [[2018 Michigan's 13th congressional district special election|13th sp]]
 
* [[2018 United States House of Representatives elections in Minnesota|Minnesota]]
 
* [[2018 United States House of Representatives elections in Minnesota|Minnesota]]
 
* [[2018 United States House of Representatives elections in Mississippi|Mississippi]]
 
* [[2018 United States House of Representatives elections in Mississippi|Mississippi]]
Line 85: Line 85:
 
* [[2018 United States House of Representatives elections in New Mexico|New Mexico]]
 
* [[2018 United States House of Representatives elections in New Mexico|New Mexico]]
 
* [[2018 United States House of Representatives elections in New York|New York]]
 
* [[2018 United States House of Representatives elections in New York|New York]]
** [[2018 New York's 25th congressional district special election|25th Special]]
+
** [[2018 New York's 25th congressional district special election|25th sp]]
 
* [[2018 United States House of Representatives elections in North Carolina|North Carolina]]
 
* [[2018 United States House of Representatives elections in North Carolina|North Carolina]]
 
** [[2018 North Carolina's 9th congressional district election|9th]]
 
** [[2018 North Carolina's 9th congressional district election|9th]]
Line 91: Line 91:
 
* [[2018 United States House of Representatives election in the Northern Mariana Islands|Northern Mariana Islands]]
 
* [[2018 United States House of Representatives election in the Northern Mariana Islands|Northern Mariana Islands]]
 
* [[2018 United States House of Representatives elections in Ohio|Ohio]]
 
* [[2018 United States House of Representatives elections in Ohio|Ohio]]
** [[2018 Ohio's 12th congressional district special election|12th Special]]
+
** [[2018 Ohio's 12th congressional district special election|12th sp]]
 
* [[2018 United States House of Representatives elections in Oklahoma|Oklahoma]]
 
* [[2018 United States House of Representatives elections in Oklahoma|Oklahoma]]
 
* [[2018 United States House of Representatives elections in Oregon|Oregon]]
 
* [[2018 United States House of Representatives elections in Oregon|Oregon]]
 
* [[2018 United States House of Representatives elections in Pennsylvania|Pennsylvania]]
 
* [[2018 United States House of Representatives elections in Pennsylvania|Pennsylvania]]
** [[2018 Pennsylvania's 18th congressional district special election|18th Special]]
+
** [[2018 Pennsylvania's 7th and 15th congressional district special elections|7th and 15th sp]]
** [[2018 Pennsylvania's 7th and 15th congressional district special elections|7th and 15th Special]]
+
** [[2018 Pennsylvania's 18th congressional district special election|18th sp]]
 
* [[2018 United States House of Representatives elections in Rhode Island|Rhode Island]]
 
* [[2018 United States House of Representatives elections in Rhode Island|Rhode Island]]
 
* [[2018 United States House of Representatives elections in South Carolina|South Carolina]]
 
* [[2018 United States House of Representatives elections in South Carolina|South Carolina]]
Line 102: Line 102:
 
* [[2018 United States House of Representatives elections in Tennessee|Tennessee]]
 
* [[2018 United States House of Representatives elections in Tennessee|Tennessee]]
 
* [[2018 United States House of Representatives elections in Texas|Texas]]
 
* [[2018 United States House of Representatives elections in Texas|Texas]]
** [[2018 Texas's 27th congressional district special election|27th Special]]
+
** [[2018 Texas's 27th congressional district special election|27th sp]]
 
* [[2018 United States House of Representatives elections in Utah|Utah]]
 
* [[2018 United States House of Representatives elections in Utah|Utah]]
 
* [[2018 United States House of Representatives election in Vermont|Vermont]]
 
* [[2018 United States House of Representatives election in Vermont|Vermont]]

Revision as of 19:58, 26 May 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{2018 United States elections|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{2018 United States elections|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{2018 United States elections|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.