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

From blackwiki
Jump to navigation Jump to search
imported>Therequiembellishere
imported>Joshua Whitman
Line 52: Line 52:
 
{{Current U.S. senators/row|South Carolina|SC|R|[[Lindsey Graham|Graham]]|R|[[Tim Scott|T. Scott]]}}
 
{{Current U.S. senators/row|South Carolina|SC|R|[[Lindsey Graham|Graham]]|R|[[Tim Scott|T. Scott]]}}
 
{{Current U.S. senators/row|South Dakota|SD|R|[[John Thune|Thune]]|R|[[Mike Rounds|Rounds]]}}
 
{{Current U.S. senators/row|South Dakota|SD|R|[[John Thune|Thune]]|R|[[Mike Rounds|Rounds]]}}
{{Current U.S. senators/row|Tennessee|TN|R|[[Lamar Alexander|Alexander]]|R|[[Marsha Blackburn|Blackburn]]<!-- D|[[Bill Hagerty (politician)|Hagerty]] -->}}
+
{{Current U.S. senators/row|Tennessee|TN|R|[[Lamar Alexander|Alexander]]|R|[[Marsha Blackburn|Blackburn]]<!-- R|[[Bill Hagerty (politician)|Hagerty]] -->}}
 
{{Current U.S. senators/row|Texas|TX|R|[[John Cornyn|Cornyn]]|R|[[Ted Cruz|Cruz]]}}
 
{{Current U.S. senators/row|Texas|TX|R|[[John Cornyn|Cornyn]]|R|[[Ted Cruz|Cruz]]}}
 
{{Current U.S. senators/row|Utah|UT|R|[[Mike Lee (American politician)|Lee]]|R|[[Mitt Romney|Romney]]}}
 
{{Current U.S. senators/row|Utah|UT|R|[[Mike Lee (American politician)|Lee]]|R|[[Mitt Romney|Romney]]}}

Revision as of 07:02, 21 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