Difference between revisions of "Template:Current U.S. senators"

From blackwiki
Jump to navigation Jump to search
imported>BazingaFountain42
imported>BazingaFountain42
 
Line 65: Line 65:
 
  | belowclass = hlist
 
  | belowclass = hlist
 
  | below=
 
  | below=
* {{Party shading/Republican/block}} (R) [[Republican Party (United States)|Republican]]: 53<!-- 48 // TBD -->
+
* {{Party shading/Republican/block}} (R) [[Republican Party (United States)|Republican]]: 52
* {{Party shading/Democratic/block}} (D) [[Democratic Party (United States)|Democratic]]: 45<!-- 46 // TBD -->
+
* {{Party shading/Democratic/block}} (D) [[Democratic Party (United States)|Democratic]]: 46
 
* {{Party shading/Independent (US)/block}} (I) [[Independent politician|Independent]]: 2
 
* {{Party shading/Independent (US)/block}} (I) [[Independent politician|Independent]]: 2
 
<!--* Vacant: 0-->
 
<!--* Vacant: 0-->

Latest revision as of 17:49, 2 December 2020

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

Usage

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Current U.S. senators|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Current U.S. senators|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Current U.S. senators|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.

See also