Difference between revisions of "Template:Detroit Shock"

From blackwiki
Jump to navigation Jump to search
imported>DMC511
(styling fix)
imported>Charlesaaronthompson
(I updated the HTML formatting in the template.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Detroit Shock
+
| name = Detroit Shock
| title = [[Detroit Shock|{{color|#FFFFFF|Detroit Shock}}]]
+
| title = [[Detroit Shock|{{color|#{{WNBA color|Detroit Shock|2}}|Detroit Shock}}]]
 
| bodyclass = hlist
 
| bodyclass = hlist
| titlestyle = {{NBA color cell|Detroit Shock|border=2}};
+
| titlestyle = {{WNBA color cell|Detroit Shock|border=2}};
| basestyle = {{NBA color cell2|Detroit Shock|border=2}};
+
| basestyle = {{WNBA color cell2|Detroit Shock|border=2}};
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 +
 
| above =
 
| above =
 
* Founded in 1998
 
* Founded in 1998
* Relocated in 2010 to [[Tulsa Shock|{{color|#FFFFFF|Tulsa, OK}}]]
+
* Relocated in 2010 to '''[[Tulsa Shock|{{color|#{{WNBA color|Detroit Shock|4}}|Tulsa, Oklahoma}}]]'''
* Based in '''[[Auburn Hills, Michigan|{{color|#FFFFFF|Auburn Hills}}]], [[Michigan|{{color|#FFFFFF|Michigan}}]]'''
+
* Based in '''[[Auburn Hills, Michigan|{{color|#{{WNBA color|Detroit Shock|4}}|Auburn Hills, Michigan}}]]'''
  
 
| group2 = Franchise history
 
| group2 = Franchise history

Revision as of 19:54, 2 July 2016

Initial visibility: currently defaults to autocollapse

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

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