Difference between revisions of "Template:MacOS"

From blackwiki
Jump to navigation Jump to search
imported>Davemck
m (renumber duplicate parms)
imported>Herbfur
(Unnecessary to split versions 10.x and 11.x in my opinion. We don't even know if Apple will stick with 11 as the major number, they might release macOS 12 next for all we know. I say we keep it in the same section until more info comes in the next year or two.)
Line 13: Line 13:
 
* [[List of Macintosh software|Software]]
 
* [[List of Macintosh software|Software]]
  
|group1 = Versions (macOS 10)
+
|group1 = Versions
 
|list1  =
 
|list1  =
 
*[[Mac OS X Server 1.0|Server 1.0 Hera]]
 
*[[Mac OS X Server 1.0|Server 1.0 Hera]]
Line 33: Line 33:
 
*[[macOS Mojave|10.14 Mojave]]
 
*[[macOS Mojave|10.14 Mojave]]
 
*[[macOS Catalina|10.15 Catalina]]
 
*[[macOS Catalina|10.15 Catalina]]
 
|group2  = Versions (macOS 11)
 
|list2  =
 
 
*[[macOS Big Sur|11.0 Big Sur]]
 
*[[macOS Big Sur|11.0 Big Sur]]
  
|group3 = Applications
+
|group2 = Applications
|list3   = {{Navbox|subgroup
+
|list2   = {{Navbox|subgroup
  
 
| list1  =  
 
| list1  =  
Line 87: Line 84:
 
}}
 
}}
  
|group4 = Utilities
+
|group3 = Utilities
|list4   = {{Navbox|subgroup
+
|list3   = {{Navbox|subgroup
  
 
| list1  =  
 
| list1  =  
Line 128: Line 125:
 
}}
 
}}
  
|group5 = Technology and<br>user interface
+
|group4 = Technology and<br>user interface
|list5   ={{Navbox|subgroup
+
|list4   ={{Navbox|subgroup
  
 
| list1  =  
 
| list1  =  

Revision as of 01:34, 25 September 2020

Template documentation

Any changes made here may also need to be made to Template:macOS sidebar.


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