Difference between revisions of "Template:Hershey"

From blackwiki
Jump to navigation Jump to search
imported>Pennsylvania2
imported>Cabayi
(wikipedia styling, not Hershey's)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Hershey
 
| name = Hershey
| title = [[Hershey Trust Company|{{color|#FFFFFF|Hershey Trust Company}}]]
+
| title = [[Hershey Trust Company]]
 
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| image  = [[File:HersheyCo.svg|130px]]
 
| image  = [[File:HersheyCo.svg|130px]]
 
| nowrapitems = yes
 
| nowrapitems = yes
| basestyle = background:#A52A2A; color:#FFFFFF;
+
| above = [[Milton S. Hershey]]
| above = [[Milton S. Hershey|{{color|#FFFFFF|Milton S. Hershey}}]]
 
  
| group1 = [[Hershey Entertainment and Resorts Company|{{color|#FFFFFF|Hershey Entertainment<br /> and Resorts Company}}]]
+
| group1 = [[Hershey Entertainment and Resorts Company|Hershey Entertainment<br />and Resorts Company]]
 
| list1 = {{Navbox|child
 
| list1 = {{Navbox|child
| groupstyle = background:#A52A2A; color:#FFFFFF;
 
 
 
  | group1 = Entertainment Group
 
  | group1 = Entertainment Group
 
  | list1 =
 
  | list1 =
Line 35: Line 32:
 
  }}
 
  }}
  
| group2 = [[The Hershey Company|{{color|#FFFFFF|The Hershey Company}}]]
+
| group2 = [[The Hershey Company]]
 
| list2 = {{Navbox|child
 
| list2 = {{Navbox|child
| groupstyle = background:#A52A2A; color:#FFFFFF;
 
 
  | list3style = text-align: center;
 
  | list3style = text-align: center;
  
Line 111: Line 107:
 
  }}
 
  }}
  
| group3 = [[Hershey Trust Company|{{color|#FFFFFF|Hershey Trust Company}}]]
+
| group3 = [[Hershey Trust Company]]
 
| list3 = {{Navbox|child
 
| list3 = {{Navbox|child
| groupstyle = background:#A52A2A; color:#FFFFFF;
 
  
 
  | list1 =
 
  | list1 =
Line 129: Line 124:
  
 
| below =
 
| below =
* [[Penn State Milton S. Hershey Medical Center|{{color|#FFFFFF|Penn State Milton S. Hershey Medical Center}}]]
+
* [[Penn State Milton S. Hershey Medical Center]]
* [[Hershey, Pennsylvania|{{color|#FFFFFF|Hershey, PA}}]]
+
* [[Hershey, Pennsylvania]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 13:44, 18 August 2020

Initial visibility: currently defaults to autocollapse

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

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