Difference between revisions of "Template:Hershey Bears"

From blackwiki
Jump to navigation Jump to search
imported>Mo2010
imported>Frietjes
Line 5: Line 5:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|titlestyle=background:#FFFFFF;border-top:#3e2b2e 5px solid;border-bottom:#E6D4AE 5px solid;
 
|titlestyle=background:#FFFFFF;border-top:#3e2b2e 5px solid;border-bottom:#E6D4AE 5px solid;
|groupstyle=background:#FFFFFF;border:#E6D4AE 2px solid;
+
|groupstyle=background:#FFFFFF;{{box-shadow border|a|#E6D4AE|2px}}
|abovestyle=background:#FFFFFF;border:#3e2b2e 2px solid;
+
|abovestyle=background:#FFFFFF;{{box-shadow border|a|#3e2b2e|2px}}
|belowstyle=background:#FFFFFF;border:#E6D4AE 2px solid;
+
|belowstyle=background:#FFFFFF;{{box-shadow border|a|#E6D4AE|2px}}
  
 
|above=  
 
|above=  

Revision as of 20:49, 13 April 2018

Initial visibility: currently defaults to autocollapse

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

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