Difference between revisions of "Template:Cornell"

From blackwiki
Jump to navigation Jump to search
imported>Kzirkel
(The Dairy Bar is on campus in Stocking Hall; the Cornell Dairy is something else)
imported>Bsherr
(A 3:1 contrast ratio between links and text is required per MOS:ACCESS)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name  = Cornell
 
| name  = Cornell
| title = [[Cornell University|<span style="color:white;">Cornell University</span>]]
+
| title = [[Cornell University]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| listclass  = hlist
 
| listclass  = hlist
| basestyle = {{CollegePrimaryStyle|Cornell Big Red|color=white}};
 
  
 
| group1 = Academics
 
| group1 = Academics
Line 25: Line 24:
 
* [[Cornell University College of Veterinary Medicine|Veterinary]]
 
* [[Cornell University College of Veterinary Medicine|Veterinary]]
  
| group2 = [[Cornell Big Red|<span style="color:white;">Athletics</span>]]
+
| group2 = [[Cornell Big Red|Athletics]]
 
| list2 =
 
| list2 =
 
* [[Ivy League]]
 
* [[Ivy League]]
Line 85: Line 84:
 
* [[Cornell Tech]]
 
* [[Cornell Tech]]
  
| group4 = [[History of Cornell University|{{color|white|History}}]]
+
| group4 = [[History of Cornell University|History]]
 
| list4 =
 
| list4 =
 
* [[Ezra Cornell]]
 
* [[Ezra Cornell]]
Line 95: Line 94:
 
* ''{{small|([[History of Cornell University|overview]])}}''
 
* ''{{small|([[History of Cornell University|overview]])}}''
  
| group5 = [[Cornelliana|<span style="color:white;">Cornelliana</span>]]
+
| group5 = [[Cornelliana]]
 
| list5 =
 
| list5 =
 
* [[Cornell Chimes|Chimes]]
 
* [[Cornell Chimes|Chimes]]

Revision as of 21:51, 4 August 2020

Template documentation[view] [edit] [history] [purge]

Usage

Initial visibility: currently defaults to autocollapse

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

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