Difference between revisions of "Template:MacOS"

From blackwiki
Jump to navigation Jump to search
(QuickTime API deprecated for AVFoundation)
Line 2: Line 2:
 
|name    = macOS
 
|name    = macOS
 
|title  = [[macOS]]
 
|title  = [[macOS]]
|state  = {{{state|collapsed}}}
+
|state  = {{{state<includeonly>|collapsed</includeonly>}}}
 
|image  = [[File:MacOS wordmark (2017).svg|100px|right|alt=macOS wordmark]]
 
|image  = [[File:MacOS wordmark (2017).svg|100px|right|alt=macOS wordmark]]
 
|bodyclass = hlist
 
|bodyclass = hlist
Line 129: Line 129:
 
*[[Aqua (user interface)|Aqua]]
 
*[[Aqua (user interface)|Aqua]]
 
*[[Audio Units]]
 
*[[Audio Units]]
 +
*[[AVFoundation]]
 
*[[Bonjour (software)|Bonjour]]
 
*[[Bonjour (software)|Bonjour]]
 
*[[CloudKit]]
 
*[[CloudKit]]
Line 166: Line 167:
 
*[[Property list]]
 
*[[Property list]]
 
*[[Quartz (graphics layer)|Quartz]]
 
*[[Quartz (graphics layer)|Quartz]]
*[[QuickTime]]
 
 
*[[Quick Look]]
 
*[[Quick Look]]
 
*[[Virtual folder#macOS|Smart Folders]]
 
*[[Virtual folder#macOS|Smart Folders]]
Line 183: Line 183:
 
*[[Carbon (API)|Carbon]]
 
*[[Carbon (API)|Carbon]]
 
*[[HFS+]]
 
*[[HFS+]]
 +
*[[QuickTime#QuickTime framework|QTKit]]
  
 
| group3 = Discontinued
 
| group3 = Discontinued

Revision as of 15:38, 23 June 2018

Template documentation[view] [edit] [history] [purge]

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