Difference between revisions of "Template:MT-FedRep"

From blackwiki
Jump to navigation Jump to search
imported>Wknight94
(Update with election results)
imported>Therequiembellishere
 
(21 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{CurrentCongDeleg
+
{{Congressional Delegation
| Image=Montana state flag.png
+
| name = MT-FedRep
| State=Montana
+
| collapse_state= {{{state<includeonly>|collapsed</includeonly>}}}
| Senators=[[Max Baucus]] (D), [[Jon Tester]] (D)
+
| State = Montana
| Representatives=[[Denny Rehberg]] (R)
+
| Senators =  
}}
+
* [[Jon Tester]] (D)
 +
* [[Steve Daines]] (R)
 +
 
 +
| Representatives =  
 +
* [[Greg Gianforte]]<!-- [[Matt Rosendale]] --> (R)
 +
}}<noinclude>
 +
{{collapsible option|statename=optional}}
 +
[[Category:Congressional delegations from Montana navigational boxes‎| ]]
 +
</noinclude>

Latest revision as of 14:57, 10 November 2020

Initial visibility: currently defaults to autocollapse

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

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