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

From blackwiki
Jump to navigation Jump to search
imported>Joshua Whitman
imported>DaveTheBrave
Line 58: Line 58:
 
{{Current U.S. senators/row|Virginia|VA|D|[[Mark Warner|Warner]]|D|[[Tim Kaine|Kaine]]}}
 
{{Current U.S. senators/row|Virginia|VA|D|[[Mark Warner|Warner]]|D|[[Tim Kaine|Kaine]]}}
 
{{Current U.S. senators/row|Washington|WA|D|[[Patty Murray|Murray]]|D|[[Maria Cantwell|Cantwell]]}}
 
{{Current U.S. senators/row|Washington|WA|D|[[Patty Murray|Murray]]|D|[[Maria Cantwell|Cantwell]]}}
{{Current U.S. senators/row|West Virginia |WV|D|[[Joe Manchin|Manchin]]|R|[[Shelley Moore Capito|Moore Capito]]}}
+
{{Current U.S. senators/row|West Virginia |WV|D|[[Joe Manchin|Manchin]]|R|[[Shelley Moore Capito|Capito]]}}
 
{{Current U.S. senators/row|Wisconsin|WI|R|[[Ron Johnson (Wisconsin politician)|Johnson]]|D|[[Tammy Baldwin|Baldwin]]}}
 
{{Current U.S. senators/row|Wisconsin|WI|R|[[Ron Johnson (Wisconsin politician)|Johnson]]|D|[[Tammy Baldwin|Baldwin]]}}
 
{{Current U.S. senators/row|Wyoming|WY|R|[[Mike Enzi|Enzi]]|R|[[John Barrasso|Barrasso]]<!-- R|[[Cynthia Lummis|Lummis]] -->}}
 
{{Current U.S. senators/row|Wyoming|WY|R|[[Mike Enzi|Enzi]]|R|[[John Barrasso|Barrasso]]<!-- R|[[Cynthia Lummis|Lummis]] -->}}

Revision as of 07:09, 24 November 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