Difference between revisions of "Template:CO-FedRep"

From blackwiki
Jump to navigation Jump to search
(attached party abbreviations)
imported>Therequiembellishere
 
(28 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{{U.S.A. State Congressional Delegation|
+
{{Congressional Delegation
Image=Colorado state flag.png
+
| name = CO-FedRep
|State=Colorado
+
| collapse_state= {{{state<includeonly>|collapsed</includeonly>}}}
|Senators=[[Wayne Allard]] (R), [[Ken Salazar]] (D)
+
| State = Colorado
|Representatives=[[Diana DeGette]] (D), [[Mark Udall|Mark&nbsp;Udall]] (D), [[John Salazar|John&nbsp;Salazar]] (D), [[Marilyn Musgrave|Marilyn&nbsp;Musgrave]] (R), [[Joel Hefley|Joel&nbsp;Hefley]] (R), [[Tom Tancredo|Tom&nbsp;Tancredo]] (R), [[Bob Beauprez|Bob&nbsp;Beauprez]] (R)
+
| Senators =  
|}}
+
* [[Michael Bennet]] (D)
 +
* [[Cory Gardner]] (R)<!-- [[John Hickenlooper]] (D) -->
 +
| Representatives =  
 +
* [[Diana DeGette]] (D)
 +
* [[Joe Neguse]] (D)
 +
* [[Scott Tipton]] (R)
 +
* [[Ken Buck]] (R)
 +
* [[Doug Lamborn]] (R)
 +
* [[Jason Crow]] (D)
 +
* [[Ed Perlmutter]] (D)
 +
}}<noinclude>
 +
 
 +
{{collapsible option|statename=optional|parameter_name=collapse_state}}
 +
[[Category:Congressional delegations from Colorado navigational boxes‎| ]]
 +
</noinclude>

Latest revision as of 00:19, 10 November 2020

Initial visibility: currently defaults to autocollapse

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

  • |collapse_state=collapsed: {{CO-FedRep|collapse_state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |collapse_state=expanded: {{CO-FedRep|collapse_state=expanded}} to show the template expanded, i.e., fully visible
  • |collapse_state=autocollapse: {{CO-FedRep|collapse_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 |collapse_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.