Difference between revisions of "Template:Apple hardware"

From blackwiki
Jump to navigation Jump to search
Line 6: Line 6:
 
| evenodd      = swap
 
| evenodd      = swap
 
| groupstyle    = background: #f7f7f7; text-align: right; vertical-align: text-top;
 
| groupstyle    = background: #f7f7f7; text-align: right; vertical-align: text-top;
| belowstyle    = background: #eee;
+
| listclass    = hlist
 +
 
 +
| above        =
 +
 
 
| group1        = [[Macintosh|Mac]]
 
| group1        = [[Macintosh|Mac]]
| list1        = {{Navbox|child| groupstyle = background: #f7f7f7; text-align: right; vertical-align: text-top;
+
| list1        = {{Navbox subgroup
 +
| groupstyle   = background: #f7f7f7; text-align: right; vertical-align: text-top;
 
| belowstyle    = background: #eee;
 
| belowstyle    = background: #eee;
  | evenodd     = swap
+
| evenodd       = swap
 +
 
 
   | group1      = [[Desktop computer|Desktop]]
 
   | group1      = [[Desktop computer|Desktop]]
   | list1      =  
+
   | list1      = {{Navbox subgroup
 +
  | groupstyle  = background:#f7f7f7;
 +
 
 +
  | group1      = Current
 +
  | list1      =
 +
;[[Macintosh|Mac]]
 +
:[[iMac]]
 +
:[[Mac Pro]]
 +
:[[Mac Mini]]
  
  {{Navbox subgroup
 
  | groupstyle  = background:#f7f7f7;
 
  | group1      = '''Current'''
 
  | list1      = '''{{nowrap begin}}[[Macintosh|Mac]]: [[iMac]], [[Mac Pro]], [[Mac Mini]]'''
 
 
   | group2      = Discontinued
 
   | group2      = Discontinued
   | list2      = Apple: [[Apple I|I]], [[Apple II series|II]], [[Apple III|III]]; [[Apple Lisa|Lisa]] <br /> Macintosh: [[Compact Macintosh|Compact]]; [[Macintosh II series|II]]; [[Macintosh SE|SE]], [[Macintosh SE/30|SE/30]]; [[Macintosh Classic]]; [[Macintosh LC|LC]]; [[Macintosh Quadra|Quadra]]; [[Macintosh Performa|Performa]]; [[Macintosh Centris|Centris]]; [[Power Macintosh|Power Mac]]; [[eMac]]}}
+
   | list2      =
 +
;Apple
 +
:[[Apple I|I]]
 +
:[[Apple II series|II]]
 +
:[[Apple III|III]]
 +
:[[Apple Lisa|Lisa]]
 +
;Mac
 +
:[[Compact Macintosh|Compact]]
 +
:[[Macintosh II series|II]]
 +
:[[Macintosh SE|SE]]
 +
:[[Macintosh SE/30|SE/30]]
 +
:[[Macintosh Classic]]
 +
:[[Macintosh LC|LC]]
 +
:[[Macintosh Quadra|Quadra]]
 +
:[[Macintosh Performa|Performa]]
 +
:[[Macintosh Centris|Centris]]
 +
:[[Power Macintosh|Power Mac]]
 +
:[[eMac]]
 +
 
 +
}}
  
 
   | group2      = [[Laptop|Laptop]]
 
   | group2      = [[Laptop|Laptop]]
 
   | list2      = {{Navbox subgroup
 
   | list2      = {{Navbox subgroup
 
   | groupstyle  = background:#f7f7f7;
 
   | groupstyle  = background:#f7f7f7;
   | group1      = '''Current'''
+
 
   | list1      = '''{{nowrap begin}}[[MacBook family|MacBook]]: [[MacBook Pro]], [[MacBook Air]]'''
+
   | group1      = Current
 +
   | list1      =
 +
;[[MacBook family|MacBook]]
 +
:[[MacBook Pro]]
 +
:[[MacBook Air]]'''
 +
 
 
   | group2      = Discontinued
 
   | group2      = Discontinued
   | list2      = [[PowerBook]]; [[iBook]]; [[MacBook]]}}
+
   | list2      =
 +
;[[PowerBook]]
 +
;[[iBook]]
 +
;MacBook
 +
:[[MacBook]]
 +
 
 +
}}
 +
 
 
   | group3      = [[Server computer|Server]]
 
   | group3      = [[Server computer|Server]]
   | list3      =  
+
   | list3      = {{Navbox subgroup
 +
  | groupstyle  = background:#f7f7f7;
 +
 
 +
  | group1      = Current
 +
  | list1      =
 +
;Mac
 +
:[[Mac Pro]]
 +
:[[Mac Mini]]
  
  {{Navbox subgroup
 
  | groupstyle  = background:#f7f7f7;
 
  | group1      = '''Current'''
 
  | list1      = 
 
 
   | group2      = Discontinued
 
   | group2      = Discontinued
   | list2      = [[Apple Workgroup Server|AWS]];{{nowrap end}} [[Apple Network Server|ANS]];{{nowrap end}} [[Xserve]] }}
+
   | list2      =
 +
;Mac
 +
:[[Apple Workgroup Server|AWS]]
 +
:[[Apple Network Server|ANS]]
 +
;[[Xserve]]
 +
 
 
}}
 
}}
 +
 +
}}
 +
 
   | group2style = background: #fdfdfd;
 
   | group2style = background: #fdfdfd;
 
   | group2      = Devices
 
   | group2      = Devices
   | list2      =
+
   | list2      = {{Navbox subgroup
 
 
  {{Navbox subgroup
 
 
   | groupstyle  = width:13.9em; background:#f7f7f7;
 
   | groupstyle  = width:13.9em; background:#f7f7f7;
 
   | liststyle  = width:auto;
 
   | liststyle  = width:auto;
   | group1      = '''Current'''
+
 
   | list1      = '''[[Apple TV]]{{·}}{{nowrap begin}}[[iPad]] ([[iPad 2|2]]){{nowrap begin}}{{·}}{{nowrap begin}}[[iPhone]] ([[iPhone 3GS|3GS]], [[iPhone 4|4]], [[iPhone 4S|4S]]){{·}}{{nowrap begin}}[[iPod]] ([[iPod Classic|Classic]], [[iPod Nano|Nano]], [[iPod Shuffle|Shuffle]], [[iPod Touch|Touch]])'''
+
   | group1      = Current
 +
   | list1      =
 +
*[[Apple TV]]
 +
*[[iPad]]
 +
**[[iPad 2|2]]
 +
*[[iPhone]]
 +
**[[iPhone 3GS|3GS]]
 +
**[[iPhone 4|4]]
 +
**[[iPhone 4S|4S]]
 +
*[[iPod]]
 +
**[[iPod Classic|Classic]]
 +
**[[iPod Nano|Nano]]
 +
**[[iPod Shuffle|Shuffle]]
 +
**[[iPod Touch|Touch]]
  
 
   | group2      = Discontinued
 
   | group2      = Discontinued
   | list2      = [[Apple Interactive Television Box|Interactive TV Box]]{{·}}iPhone: ([[iPhone (original)|Original]], [[iPhone 3G|3G]]){{·}}[[iPod Hi-Fi]]{{·}}[[iPod Mini]]{{·}}[[Newton (platform)|Newton]]{{·}}[[Apple Bandai Pippin|Pippin]]{{·}} [[PowerCD]]{{·}} [[Apple QuickTake|QuickTake]]}}
+
   | list2      =
 +
*[[Apple Interactive Television Box|Interactive TV Box]]
 +
*iPhone
 +
**[[iPhone (original)|Original]]
 +
**[[iPhone 3G|3G]]
 +
*[[iPod Hi-Fi]]
 +
*[[iPod Mini]]
 +
*[[Newton (platform)|Newton]]
 +
*[[Apple Bandai Pippin|Pippin]]
 +
*[[PowerCD]]
 +
*[[Apple QuickTake|QuickTake]]
 +
 
 +
}}
  
 
   | group3      = [[:Category:Apple Inc. peripherals|Accessories]]
 
   | group3      = [[:Category:Apple Inc. peripherals|Accessories]]
   | list3      =  
+
   | list3      = {{Navbox subgroup
 
 
  {{Navbox subgroup
 
 
   | groupstyle  = width:13.9em; background:#f7f7f7;
 
   | groupstyle  = width:13.9em; background:#f7f7f7;
 
   | liststyle  = width:auto;
 
   | liststyle  = width:auto;
  
   | group1      = '''Current'''
+
   | group1      = Current
   | list1      = '''[[AirPort]]{{·}}[[Apple displays|Displays]]{{·}}[[iSight]]{{·}}{{nowrap begin}}[[Magic Mouse]]{{·}}{{nowrap end}}[[Magic Trackpad]]{{·}}[[Apple Remote|Remote]]{{·}}{{nowrap begin}}[[SuperDrive]]{{·}}{{nowrap end}}[[Time Capsule (Apple)|Time Capsule]]{{·}}{{nowrap begin}}[[Apple Wireless Keyboard|Wireless Keyboard]]{{·}}[[Apple Keyboard|Keyboards]]{{nowrap end}}'''
+
   | list1      =
 +
*[[AirPort]]
 +
*[[Apple displays|Displays]]
 +
*[[iSight]]
 +
*[[Magic Mouse]]
 +
*[[Magic Trackpad]]
 +
*[[Apple Remote|Remote]]
 +
*[[SuperDrive]]
 +
*[[Time Capsule (Apple)|Time Capsule]]
 +
*[[Apple Wireless Keyboard|Wireless Keyboard]]
 +
*[[Apple Keyboard|Keyboards]]
 +
 
 
   | group2      = Discontinued
 
   | group2      = Discontinued
   | list2      = [[List of Apple drives|Drives]]{{·}}[[Apple Mouse|Mice]]{{·}}[[Apple Modem|Modems]]{{·}}[[:Category:Apple Inc. printers|Printers]]{{·}} [[Apple Scanner|Scanners]]}}
+
   | list2      =
 +
*[[List of Apple drives|Drives]]
 +
*[[Apple Mouse|Mice]]
 +
*[[Apple Modem|Modems]]
 +
*[[:Category:Apple Inc. printers|Printers]]
 +
*[[Apple Scanner|Scanners]]
 +
 
 +
}}
 +
 
 +
| belowclass    = hlist
 +
| belowstyle    = background: #eee;
 +
| below        =
 +
*[[Comparison of Macintosh models]]
 +
*[[List of products discontinued by Apple Inc.|List of discontinued products]]
 +
*[[Timeline of Apple Inc. products|Product timeline]]
 +
*Previous templates
 +
**[[Template:Apple hardware|all]]
 +
**[[Template:Apple hardware before 1998|before 1998]]
 +
**[[Template:Apple hardware since 1998|since 1998]]
  
| above  = See also [[Comparison of Macintosh models]]
 
| below = Current products are bolded; see a list of [[List of products discontinued by Apple Inc.|discontinued products]]. See also a [[Timeline of Apple Inc. products|timeline]] and previous templates ([[Template:Apple hardware|all]]; [[Template:Apple hardware before 1998|before 1998]]; [[Template:Apple hardware since 1998|since 1998]]).
 
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation|Template:Apple/doc}}
 
{{Documentation|Template:Apple/doc}}
 +
 
[[Category:Apple Inc.-related templates|{{PAGENAME}}]]
 
[[Category:Apple Inc.-related templates|{{PAGENAME}}]]
 
[[Category:Computer hardware templates|{{PAGENAME}}]]
 
[[Category:Computer hardware templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 14:46, 9 February 2012

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