Difference between revisions of "Template:MIT"

From blackwiki
Jump to navigation Jump to search
imported>AquaDTRS
(-SUTD collaboration (no article), nested grad/undergrad residences)
imported>Charlesaaronthompson
(I updated the wiki-code formatting in the template.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = MIT
+
| name = MIT
| title     = [[Massachusetts Institute of Technology|{{color|white|Massachusetts Institute of Technology}}]]
+
| title = [[Massachusetts Institute of Technology|{{color|white|Massachusetts Institute of Technology}}]]
| basestyle = {{CollegePrimaryStyle|MIT Engineers|color=white}}
+
| basestyle = {{CollegePrimaryStyle|MIT Engineers|color=white}}
| state     = {{{state|{{{1|autocollapse}}}}}}
+
| state = {{{state|{{{1|autocollapse}}}}}}
| bodyclass = hlist
+
| bodyclass = hlist
| abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;| above =  
+
| above =  
* [[Campus of the Massachusetts Institute of Technology|Campus]]
+
* [[Campus of the Massachusetts Institute of Technology|{{color|white|Campus}}]]
* [[History of the Massachusetts Institute of Technology|History]]
+
* [[History of the Massachusetts Institute of Technology|{{color|white|History}}]]
| image     =  
+
| image =
  
 
| group1 = Academics
 
| group1 = Academics
Line 101: Line 101:
  
 
{{Navbox|border = child
 
{{Navbox|border = child
  | group1 = [[List of public art in Cambridge, Massachusetts#Massachusetts Institute of Technology|Public art]]
+
| groupstyle = {{CollegePrimaryStyle|MIT Engineers|color=white}}
  | list1 =
+
| group1 = [[List of public art in Cambridge, Massachusetts#Massachusetts Institute of Technology|{{color|white|Public art}}]]
 +
| list1 =
 
* ''[[Aesop's Fables, II]]''
 
* ''[[Aesop's Fables, II]]''
 
* ''[[Alchemist (Plensa)|Alchemist]]''
 
* ''[[Alchemist (Plensa)|Alchemist]]''
Line 127: Line 128:
 
* [[Scratch (programming language)|Scratch]]
 
* [[Scratch (programming language)|Scratch]]
 
* [[MIT App Inventor]]
 
* [[MIT App Inventor]]
 
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation
 
{{Documentation

Revision as of 18:52, 14 April 2020

Template documentation

Initial visibility: currently defaults to autocollapse

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

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