Difference between revisions of "Template:Data structures"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Christian75
(link fixes)
Line 7: Line 7:
 
| group1 = Types
 
| group1 = Types
 
| list1  =  
 
| list1  =  
*[[Collection (computing)|Collection]]
+
*[[Collection (abstract data type)|Collection]]
*[[Container (data structure)|Container]]
+
*[[Container (abstract data type)|Container]]
  
 
| group2 = [[Abstract data type|Abstract]]
 
| group2 = [[Abstract data type|Abstract]]
 
| list2  =  
 
| list2  =  
*[[List (computing)|List]]
+
*[[List (abstract data type)|List]]
 
*[[Associative array]]
 
*[[Associative array]]
 
*[[Multimap]]
 
*[[Multimap]]
*[[Set (computer science)|Set]]
+
*[[Set (abstract data type)|Set]]
*[[Set (computer science)#Multiset|Multiset]]
+
*[[Set (abstract data type)#Multiset|Multiset]]
 
*[[Queue (abstract data type)|Queue]]
 
*[[Queue (abstract data type)|Queue]]
 
*[[Double-ended queue]]
 
*[[Double-ended queue]]
Line 47: Line 47:
 
**[[AA tree|AA]]
 
**[[AA tree|AA]]
 
**[[AVL tree|AVL]]
 
**[[AVL tree|AVL]]
**[[Red-black tree|red-black]]
+
**[[Red–black tree|red-black]]
 
**[[Splay tree|splay]]
 
**[[Splay tree|splay]]
 
*[[Heap (data structure)|Heap]]  
 
*[[Heap (data structure)|Heap]]  
Line 59: Line 59:
 
*[[Trie]]
 
*[[Trie]]
  
| group6 = [[Graph (data structure)|Graphs]]
+
| group6 = [[Graph (abstract data type)|Graphs]]
 
| list6  =  
 
| list6  =  
 
*[[Directed acyclic word graph]]
 
*[[Directed acyclic word graph]]

Revision as of 21:56, 20 January 2013

Initial visibility: currently defaults to autocollapse

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

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

hu:Sablon:Adatszerkezetek ja:Template:データ構造 ru:Шаблон:Структуры данных th:แม่แบบ:โครงสร้างข้อมูล tr:Şablon:Veri yapıları vi:Bản mẫu:Cấu trúc dữ liệu