Difference between revisions of "Template:IPad models"

From blackwiki
Jump to navigation Jump to search
imported>Nick Mitchell 98
(Consistent listing style with other Apple navboxes.)
Line 4: Line 4:
 
| contentclass = plainlist
 
| contentclass = plainlist
  
| content1 =  
+
| content1 = {{flatlist|
<table style="width:100%">
+
* [[iPad (1st generation)|1st]]
    <tr>
+
* [[iPad 2|2]]
        <td>[[iPad (1st generation)|1st]]{{·}}</td>
+
* [[iPad (3rd generation)|3rd]]
        <td>[[iPad 2|2]]{{·}}</td>
+
* [[iPad (4th generation)|4th]]
        <td>[[iPad (3rd generation)|3rd]]{{·}}</td>
+
* [[iPad Air|Air]]
        <td>[[iPad (4th generation)|4th]]{{·}}</td>
+
* [[iPad Air 2|Air 2]]
        <td style="padding:0;height:1em;">[[iPad Air|Air]]{{·}}</td>
+
* [[iPad (2017)|2017]]
        <td style="padding:0;height:1em;">[[iPad Air 2|Air 2]]{{·}}</td>
+
* [[iPad (2018)|2018]]
        <td>[[iPad (2017)|2017]]</td>
+
----
        <td>{{·}}</td>
 
        <td>[[iPad (2018)|2018]]</td>
 
    </tr>
 
    <tr>
 
        <td colspan=6></td>
 
        <td style="line-height:1em;padding:0;height:1em;font-size:0.75em;">[[iPad (2017)|(5th)]]</td>
 
        <td></td>
 
        <td style="line-height:1em;padding:0;height:1em;font-size:0.75em;">[[iPad (2018)|(6th)]]</td>
 
    </tr>
 
</table>
 
| content2 = ----
 
{{flatlist|
 
 
* [[iPad Mini|Mini]]
 
* [[iPad Mini|Mini]]
 
** [[iPad Mini (1st generation)|1st]]
 
** [[iPad Mini (1st generation)|1st]]
Line 31: Line 19:
 
** [[iPad Mini 3|3]]
 
** [[iPad Mini 3|3]]
 
** [[iPad Mini 4|4]]
 
** [[iPad Mini 4|4]]
}}
 
 
----
 
----
| content3 = {{flatlist|
+
* [[iPad Pro|Pro]]
        * [[iPad Pro|Pro]]
+
** [[iPad Pro (1st generation)|1st]]
** [[iPad Pro#First generation|1st]]
+
** [[iPad Pro (2nd generation)|2nd]]
** [[iPad Pro#Second generation|2nd]]
 
 
}}
 
}}
  

Revision as of 06:54, 28 August 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: {{IPad models|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{IPad models|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{IPad models|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