Difference between revisions of "Template:DetroitMayors"

From blackwiki
Jump to navigation Jump to search
imported>Cydebot
m (Robot - Moving category Mayors of Detroit, Michigan to Category:Mayors of Detroit per CFD at Wikipedia:Categories for discussion/Log/2016 September 6.)
imported>Cobaltcigs
m (these titles no longer have comma)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = DetroitMayors
 
|name = DetroitMayors
|title = [[List of mayors of Detroit|Mayors of Detroit]]<small> (since 1824)</small>
+
|title = [[List of mayors of Detroit|Mayors of Detroit]] (since 1824)
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 47: Line 47:
 
* [[Stephen Benedict Grummond|Grummond]]
 
* [[Stephen Benedict Grummond|Grummond]]
 
* [[Marvin H. Chamberlain|Chamberlain]]
 
* [[Marvin H. Chamberlain|Chamberlain]]
* [[John Pridgeon, Jr.|Pridgeon]]
+
* [[John Pridgeon Jr.|Pridgeon]]
 
* [[Hazen S. Pingree|Pingree]]
 
* [[Hazen S. Pingree|Pingree]]
 
* [[William Richert (mayor)|Richert]]
 
* [[William Richert (mayor)|Richert]]
Line 78: Line 78:
 
* [[Dennis Archer|Archer]]
 
* [[Dennis Archer|Archer]]
 
* [[Kwame Kilpatrick|Kilpatrick]]
 
* [[Kwame Kilpatrick|Kilpatrick]]
* [[Kenneth Cockrel, Jr.|Cockrel]]
+
* [[Kenneth Cockrel Jr.|Cockrel]]
 
* [[Dave Bing|Bing]]
 
* [[Dave Bing|Bing]]
 
* [[Mike Duggan|Duggan]]
 
* [[Mike Duggan|Duggan]]

Latest revision as of 23:45, 8 September 2019

Initial visibility: currently defaults to autocollapse

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

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