Difference between revisions of "Template:IA-FedRep"

From blackwiki
Jump to navigation Jump to search
imported>Wwoods
m (&nbsp ing names)
imported>Pvmoutside
(clean up)
 
(24 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{{U.S.A. State Congressional Delegation|
+
{{Congressional Delegation
Image=Iowa state flag.png
+
| name = IA-FedRep
|State=Iowa
+
| collapse_state= {{{collapse_state|{{{1|}}}}}}
|Senators= [[Tom Harkin]], [[Charles Grassley]]
+
| State = Iowa
|Representatives= [[Jim Nussle]], [[Jim Leach]], [[Leonard Boswell|Leonard Boswell]], [[Tom Latham|Tom Latham]], [[Steve King|Steve King]]  
+
| Senators =  
|}}
+
* [[Chuck Grassley]] (R)
 +
* [[Joni Ernst]] (R)
 +
| Representatives =  
 +
* [[Ashley Hinson]] (R)
 +
* [[Mariannette Miller-Meeks]] (R)
 +
* [[Cindy Axne]] (D)
 +
* [[Randy Feenstra]] (R)
 +
}}<noinclude>
 +
 
 +
{{collapsible option|statename=optional|parameter_name=collapse_state}}
 +
[[Category:Congressional delegations from Iowa navigational boxes‎| ]]
 +
</noinclude>

Latest revision as of 01:25, 5 January 2021

Initial visibility: currently defaults to autocollapse

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

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