Difference between revisions of "Template:MacOS"

From blackwiki
Jump to navigation Jump to search
imported>Totie
(SVG logo)
imported>Frietjes
(navbox subgroup syntax update)
Line 4: Line 4:
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
 
|image  = [[File:MacOS wordmark (2017).svg|100px|right|alt=macOS wordmark]]
 
|image  = [[File:MacOS wordmark (2017).svg|100px|right|alt=macOS wordmark]]
|listclass = hlist
+
|bodyclass = hlist
  
 
| above =  
 
| above =  
[[History of macOS|History]]''' · '''[[Architecture of macOS| Architecture]]''' · '''[[List of macOS components|Components]]''' · '''[[List of macOS technologies|Technologies]]''' · '''[[macOS Server|Server]]''' · '''[[List of Macintosh software|Software]]
+
* [[History of macOS|History]]
 +
* [[Architecture of macOS| Architecture]]
 +
* [[List of macOS components|Components]]
 +
* [[List of macOS technologies|Technologies]]
 +
* [[macOS Server|Server]]
 +
* [[List of Macintosh software|Software]]
  
 
|group1 = [[macOS version history|Versions]]
 
|group1 = [[macOS version history|Versions]]
Line 29: Line 34:
  
 
|group2  = Applications
 
|group2  = Applications
|list2  = {{Navbox subgroup
+
|list2  = {{Navbox|subgroup
|evenodd = swap
 
  
 
| list1  =  
 
| list1  =  
Line 73: Line 77:
  
 
|group3  = Utilities
 
|group3  = Utilities
|list3  = {{Navbox subgroup
+
|list3  = {{Navbox|subgroup
|evenodd = swap
 
  
 
| list1  =  
 
| list1  =  
Line 115: Line 118:
  
 
|group4  = Technology and<br/>user interface
 
|group4  = Technology and<br/>user interface
|list4  ={{Navbox subgroup
+
|list4  ={{Navbox|subgroup
|evenodd = swap
 
  
 
| list1  =  
 
| list1  =  

Revision as of 14:23, 20 August 2017

Initial visibility: currently defaults to autocollapse

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

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

Related templates

Non-navbox or sidebar templates

Note, the |state= parameter and "autocollapse" functionality can't be used with these templates