Difference between revisions of "Template:Data types"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Funandtrvl
(fx)
Line 15: Line 15:
 
| group2 = Numeric
 
| group2 = Numeric
 
| list2  =  
 
| list2  =  
 +
*[[Arbitrary-precision arithmetic|Bignum]]
 +
*[[complex data type|Complex]]
 +
*[[Decimal data type|Decimal]]
 +
*[[Fixed-point arithmetic|Fixed-point]]
 +
*[[floating point|Floating-point]]
 
*[[integer (computer science)|Integer]]
 
*[[integer (computer science)|Integer]]
 
**[[signedness]]
 
**[[signedness]]
*[[Fixed-point arithmetic|Fixed-point]]
+
*[[interval arithmetic|Interval]]
*[[floating point|Floating-point]]
 
 
*[[Rational data type|Rational]]
 
*[[Rational data type|Rational]]
*[[complex data type|Complex]]
 
*[[Arbitrary-precision arithmetic|Bignum]]
 
*[[interval arithmetic|Interval]]
 
*[[Decimal data type|Decimal]]
 
  
 
| group3 = [[plain text|Text]]
 
| group3 = [[plain text|Text]]
Line 45: Line 45:
 
*[[Associative array]]
 
*[[Associative array]]
 
*[[class (computer programming)|Class]]
 
*[[class (computer programming)|Class]]
*[[list (computing)|List]]
+
*[[List (abstract data type)|List]]
 
*[[object (computer science)|Object]]
 
*[[object (computer science)|Object]]
**[[Metaobject]]
+
**[[metaobject]]
 
*[[Option type]]
 
*[[Option type]]
 
*[[Product type|Product]]<!--since we have both union and tagged union listed here-->
 
*[[Product type|Product]]<!--since we have both union and tagged union listed here-->
 
*[[record (computer science)|Record]]
 
*[[record (computer science)|Record]]
*[[set (computer science)|Set]]
+
*[[Set (abstract data type)|Set]]
*[[Union (computer science)|Union]]
+
*[[Union type|Union]]
 
**[[Tagged union|tagged]]
 
**[[Tagged union|tagged]]
  
Line 59: Line 59:
 
*[[Boolean data type|Boolean]]
 
*[[Boolean data type|Boolean]]
 
*[[Bottom type]]
 
*[[Bottom type]]
*[[container (data structure)|Collection]]
+
*[[Container (abstract data type)|Collection]]
 
*[[Enumerated type]]
 
*[[Enumerated type]]
 
*[[exception handling|Exception]]
 
*[[exception handling|Exception]]
Line 74: Line 74:
 
| group7 = Related topics
 
| group7 = Related topics
 
| list7  =  
 
| list7  =  
*[[Type system]]
 
 
*[[Abstract data type]]
 
*[[Abstract data type]]
 
*[[Data structure]]
 
*[[Data structure]]
*[[Protocol (object-oriented programming)|Protocol]]
+
*[[Generic programming|Generic]]
**[[Interface (computing)#Software interfaces in object-oriented languages|Interface]]
 
 
*[[Kind (type theory)|Kind]]
 
*[[Kind (type theory)|Kind]]
**[[Metaclass]]<!-- These last two should be listed under "composite" somehow, but that would need two rows there, one for concepts, and one for instances of composite types, YMMV -->
+
**[[metaclass]]<!-- These last two should be listed under "composite" somehow, but that would need two rows there, one for concepts, and one for instances of composite types, YMMV -->
 +
*[[Parametric polymorphism]]
 
*[[Primitive data type]]
 
*[[Primitive data type]]
 +
*[[Protocol (object-oriented programming)|Protocol]]
 +
**[[Interface (computing)#Software interfaces in object-oriented languages|interface]]
 
*[[Subtyping]]
 
*[[Subtyping]]
*[[Generic programming|Generic]]
 
 
*[[Type constructor]]
 
*[[Type constructor]]
 
*[[Type conversion]]
 
*[[Type conversion]]
*[[Parametric polymorphism]]
+
*[[Type system]]
  
| below =
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Computer science navigational boxes]]
 
[[Category:Computer science navigational boxes]]
 +
 
[[bn:টেমপ্লেট:Data types]]
 
[[bn:টেমপ্লেট:Data types]]
 
[[el:Πρότυπο:Τύποι δεδομένων]]
 
[[el:Πρότυπο:Τύποι δεδομένων]]

Revision as of 18:48, 20 February 2013

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.

bn:টেমপ্লেট:Data types el:Πρότυπο:Τύποι δεδομένων ru:Шаблон:Типы данных vi:Bản mẫu:Các kiểu dữ liệu zh:Template:数据类型