Difference between revisions of "Template:IPad models"

From blackwiki
Jump to navigation Jump to search
imported>Emphrase
(All it did was add small (5th) and (6th) under 2017 & 2018 - Undid revision 838177162 by Nick Mitchell 98 (talk))
imported>Emphrase
m (separate into content2 and content3)
Line 23: Line 23:
 
         <td style="line-height:1em;padding:0;height:1em;font-size:0.75em;">[[iPad (2018)|(6th)]]</td>
 
         <td style="line-height:1em;padding:0;height:1em;font-size:0.75em;">[[iPad (2018)|(6th)]]</td>
 
     </tr>
 
     </tr>
    <tr>
+
</table>
        <td colspan=9>
+
| content2 = ----
        <hr>
+
{{flatlist|
        {{flatlist|
 
 
* [[iPad Mini|Mini]]
 
* [[iPad Mini|Mini]]
 
** [[iPad Mini (1st generation)|1st]]
 
** [[iPad Mini (1st generation)|1st]]
Line 33: Line 32:
 
** [[iPad Mini 4|4]]
 
** [[iPad Mini 4|4]]
 
}}
 
}}
        </td>
+
----
    </tr>
+
| content3 = {{flatlist|
    <tr>
 
        <td colspan=9>
 
        <hr>
 
        {{flatlist|
 
 
         * [[iPad Pro|Pro]]
 
         * [[iPad Pro|Pro]]
 
** [[iPad Pro (1st generation)|1st]]
 
** [[iPad Pro (1st generation)|1st]]
 
** [[iPad Pro (2nd generation)|2nd]]
 
** [[iPad Pro (2nd generation)|2nd]]
 
}}
 
}}
        </td>
 
    </tr>
 
</table>
 
  
 
| belowstyle = font-weight:normal; font-style:italic
 
| belowstyle = font-weight:normal; font-style:italic

Revision as of 03:57, 26 May 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