Difference between revisions of "Template:Apple/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Psantora
(→‎Related templates: separate out non-navboxes (can't use the "|state=" parameter)
blackwiki>Psantora
(move sidebars up, note distinction between the groups of templates)
Line 16: Line 16:
 
* {{tl|Apple TV+}}
 
* {{tl|Apple TV+}}
 
* {{tl|Classic Mac OS}}
 
* {{tl|Classic Mac OS}}
 +
* {{tl|Classic Mac OS sidebar}}
 
* {{tl|Core Foundation}}
 
* {{tl|Core Foundation}}
 
* {{tl|Darwin derivations}}
 
* {{tl|Darwin derivations}}
Line 22: Line 23:
 
* {{tl|Logic Studio}}
 
* {{tl|Logic Studio}}
 
* {{tl|macOS}}
 
* {{tl|macOS}}
 +
* {{tl|macOS sidebar}}
 
* {{tl|macOS DevTools}}
 
* {{tl|macOS DevTools}}
 
* {{tl|macOS Server}}
 
* {{tl|macOS Server}}
Line 28: Line 30:
 
* {{tl|Wi-Fi base stations by Apple}}
 
* {{tl|Wi-Fi base stations by Apple}}
 
}}
 
}}
===Non-navboxes===
+
===Non-navboxe or sidebar templates===
 +
:''Note, the {{para|state}} parameter and "autocollapse" functionality can't be used with these templates''
 
{{columns-list|colwidth=22em|
 
{{columns-list|colwidth=22em|
 
* {{tl|Apple display specs}}
 
* {{tl|Apple display specs}}
 
* {{tl|AppleIntel}}
 
* {{tl|AppleIntel}}
* {{tl|Classic Mac OS sidebar}}
 
 
* {{tl|Comparison of Macintosh laptop models}}
 
* {{tl|Comparison of Macintosh laptop models}}
 
* {{tl|iPad models}}
 
* {{tl|iPad models}}
Line 39: Line 41:
 
* {{tl|List of iPod models}}
 
* {{tl|List of iPod models}}
 
* {{tl|macOS graphics model}}
 
* {{tl|macOS graphics model}}
* {{tl|macOS sidebar}}
 
 
* {{tl|Table of current Macintosh models}}
 
* {{tl|Table of current Macintosh models}}
 
}}
 
}}

Revision as of 04:39, 4 June 2019

Initial visibility: currently defaults to autocollapse

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

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

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