Difference between revisions of "Template:Data types"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Undid revision 622713126 by 14.140.154.162 (talk))
imported>Kvng
(add Floating point variants)
Line 18: Line 18:
 
*[[complex data type|Complex]]
 
*[[complex data type|Complex]]
 
*[[Decimal data type|Decimal]]
 
*[[Decimal data type|Decimal]]
*[[Fixed-point arithmetic|Fixed-point]]
+
*[[Fixed-point arithmetic|Fixed point]]
*[[floating point|Floating-point]]
+
*[[Floating point]]
 +
**[[Double-precision floating-point format|Double precision]]
 +
**[[Half-precision floating-point format|Half precision]]
 +
**[[Octuple-precision floating-point format|Octuple precision]]
 +
**[[Quadruple-precision floating-point format|Quadruple precision]]
 +
**[[Single-precision floating-point format|Single precision]]
 
*[[integer (computer science)|Integer]]
 
*[[integer (computer science)|Integer]]
 
**[[signedness]]
 
**[[signedness]]

Revision as of 14:54, 26 June 2015

Initial visibility: currently defaults to autocollapse

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

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