Difference between revisions of "Template:IPad models"

From blackwiki
Jump to navigation Jump to search
 
(35 intermediate revisions by 22 users not shown)
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 (2017)|5th]]
        <td>[[iPad (4th generation)|4th]]{{·}}</td>
+
* [[iPad (2018)|6th]]
        <td style="padding:0;height:1em;">[[iPad Air|Air]]{{·}}</td>
+
* [[iPad (2019)|7th]]
        <td style="padding:0;height:1em;">[[iPad Air 2|Air 2]]{{·}}</td>
+
* [[iPad (2020)|8th]]
        <td>[[iPad (2017)|2017]]</td>
+
----
        <td>{{·}}</td>
+
* Air
        <td>[[iPad (2018)|2018]]</td>
+
** [[iPad Air|1st]]
    </tr>
+
** [[iPad Air 2|2]]
    <tr>
+
** [[iPad Air (2019) |3rd]]
        <td colspan=6></td>
+
** [[iPad Air (2020) |4th]]
        <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 25:
 
** [[iPad Mini 3|3]]
 
** [[iPad Mini 3|3]]
 
** [[iPad Mini 4|4]]
 
** [[iPad Mini 4|4]]
}}
+
** [[iPad Mini (5th generation)|5th]]
 
----
 
----
| 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]]
+
** [[iPad Pro (3rd generation)|3rd]]
 +
** [[iPad Pro (4th generation)|4th]]
 
}}
 
}}
  
 
| belowstyle = font-weight:normal; font-style:italic
 
| belowstyle = font-weight:normal; font-style:italic
| below = [[List of iOS devices#iPad|List of iPad models]]
+
| below = [[List of iOS and iPadOS devices#iPad|List of iPad models]]
 
| name = iPad models
 
| name = iPad models
}}<noinclude>{{lowercase}}
+
}}<noinclude>{{lowercase}}{{doc|content=
{{Documentation|Template:Apple/doc}}
+
Note, the {{para|state}} parameter and "autocollapse" functionality cannot be used with this template.
[[Category:"Part of a series on" sidebar templates]]
+
{{Apple/doc}}
</noinclude>
+
[[Category:Sidebar templates by topic]]
 +
}}</noinclude>

Latest revision as of 16:42, 19 October 2020

Template documentation

Note, the |state= parameter and "autocollapse" functionality cannot be used with this template.

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