Difference between revisions of "Template:MIT"

From blackwiki
Jump to navigation Jump to search
imported>Ber31
(New template has been started for public arts displayed on the MIT campus.)
imported>Charlesaaronthompson
(I restored the HTML color code wiki-code formatting to the template.)
 
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = MIT
 
| name = MIT
| title = [[Massachusetts Institute of Technology|Massachusetts Institute of Technology]]
+
| title = [[Massachusetts Institute of Technology|<span style="color:#FFFFFF;">Massachusetts Institute of Technology</span>]]
| basestyle = MIT Engineers
+
| basestyle = background:#A31F34; color:#FFFFFF; {{box-shadow border|a|#8A8B8C|2px}};
 
| state = {{{state|{{{1|autocollapse}}}}}}
 
| state = {{{state|{{{1|autocollapse}}}}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 8: Line 8:
 
| image =
 
| image =
  
| group1 = [[Massachusetts Institute of Technology academics|Academics]]
+
| group1 = [[Massachusetts Institute of Technology academics|<span style="color:#FFFFFF;">Academics</span>]]
 
| list1 =
 
| list1 =
 
* School of
 
* School of
Line 80: Line 80:
 
* [[Traditions and student activities at MIT|Traditions and activities]]
 
* [[Traditions and student activities at MIT|Traditions and activities]]
  
| group5 = [[Campus of the Massachusetts Institute of Technology|Campus]]
+
| group5 = [[Campus of the Massachusetts Institute of Technology|<span style="color:#FFFFFF;">Campus</span>]]
 
| list5 =
 
| list5 =
 
* [[Building 20]]
 
* [[Building 20]]
Line 96: Line 96:
 
* [[Wiesner Building]]
 
* [[Wiesner Building]]
  
|group6 = History
+
| group6 = History
|list6 =
+
| list6 =
 
* [[History of the Massachusetts Institute of Technology]]
 
* [[History of the Massachusetts Institute of Technology]]
  
Line 113: Line 113:
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation
 
{{Documentation
| content =
+
| content =
 
{{Collapsible option |statename=optional}}
 
{{Collapsible option |statename=optional}}
 
}}[[Category:Massachusetts universities and colleges navigational boxes]]</noinclude>
 
}}[[Category:Massachusetts universities and colleges navigational boxes]]</noinclude>

Latest revision as of 21:29, 13 October 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.