Difference between revisions of "Template:MIT"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (template name update)
imported>Sardanaphalus
(state handling, title, sentence casing, Documentation)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name   = MIT
+
| name = MIT
|title  = [[Massachusetts Institute of Technology|<span style="color:white;">Massachusetts Institute of Technology]]
+
| state = {{{state|{{{1|autocollapse}}}}}}
|state   = {{{state|autocollapse}}}
+
| titlestyle = border:2px solid #666666;background:#993333;color:white;
|listclass = hlist
+
| title = [[Massachusetts Institute of Technology|{{color|white|Massachusetts Institute of Technology}}]]
|titlestyle = background:#993333;color:white;border:2px solid #666666;
+
| groupstyle = border:2px solid #993333;background:#666666;color:white;
|groupstyle = background:#666666;color:white;border:2px solid #993333;
+
| listclass = hlist
|group1 = Academics
+
 
|list1   =
+
| group1 = Academics
 +
| list1 =
 
* [[Massachusetts Institute of Technology academics|Academics]]
 
* [[Massachusetts Institute of Technology academics|Academics]]
 
* [[MIT School of Architecture and Planning|School of Architecture and Planning]]
 
* [[MIT School of Architecture and Planning|School of Architecture and Planning]]
Line 17: Line 18:
 
* [[MIT OpenCourseWare|OpenCourseWare]]
 
* [[MIT OpenCourseWare|OpenCourseWare]]
 
* [[MIT Mathematics Department|Mathematics Department]]
 
* [[MIT Mathematics Department|Mathematics Department]]
|group2 = Research
+
 
|list2   =
+
|group2 = Research
 +
|list2 =
 
* [[Broad Institute]]
 
* [[Broad Institute]]
 
* [[MIT Center for Information Systems Research|Center for Information Systems Research]]
 
* [[MIT Center for Information Systems Research|Center for Information Systems Research]]
Line 38: Line 40:
 
* [[MIT Center for International Studies]]
 
* [[MIT Center for International Studies]]
 
* [[Center for Bits and Atoms]]
 
* [[Center for Bits and Atoms]]
|group3 = People
+
 
|list3   =
+
| group3 = People
 +
| list3 =
 
* [[List of Massachusetts Institute of Technology alumni|Alumni]]
 
* [[List of Massachusetts Institute of Technology alumni|Alumni]]
 
* [[List of Massachusetts Institute of Technology faculty|Faculty]]
 
* [[List of Massachusetts Institute of Technology faculty|Faculty]]
Line 45: Line 48:
 
* [[List of Institute Professors|Institute Professors]]
 
* [[List of Institute Professors|Institute Professors]]
 
* [[William Barton Rogers]]
 
* [[William Barton Rogers]]
|group4 = Culture
+
 
|list4   =
+
| group4 = Culture
 +
| list4 =
 
* [[History of the Massachusetts Institute of Technology|History]]
 
* [[History of the Massachusetts Institute of Technology|History]]
 
* [[List Visual Arts Center]]
 
* [[List Visual Arts Center]]
Line 63: Line 67:
 
* [[Smoot]]
 
* [[Smoot]]
 
* [[Lemelson–MIT Prize]]
 
* [[Lemelson–MIT Prize]]
|group5 = Campus
+
 
|list5   =
+
| group5 = Campus
 +
| list5 =
 
* [[Campus of the Massachusetts Institute of Technology|Campus]]
 
* [[Campus of the Massachusetts Institute of Technology|Campus]]
 
* [[Building 20]]
 
* [[Building 20]]
Line 74: Line 79:
 
* [[Stata Center]]
 
* [[Stata Center]]
 
* [[Wiesner building]]
 
* [[Wiesner building]]
* [[List of MIT graduate dormitories|Graduate Residences]]
+
* [[List of MIT graduate dormitories|Graduate residences]]
* [[List of MIT undergraduate dormitories|Undergraduate Residences]]
+
* [[List of MIT undergraduate dormitories|Undergraduate residences]]
* [[List of MIT fraternities and sororities|Fraternities and Sororities]]
+
* [[List of MIT fraternities and sororities|Fraternities and sororities]]
 
* [[Massachusetts Institute of Technology Police Department|Police]]
 
* [[Massachusetts Institute of Technology Police Department|Police]]
 +
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
{{Documentation
 +
| content =
 +
{{Collapsible option |statename=optional}}
 +
}}
 +
 
 
[[Category:Massachusetts universities and colleges navigational boxes]]
 
[[Category:Massachusetts universities and colleges navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 14:15, 21 May 2014

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.