Difference between revisions of "Template:Data structures"

From blackwiki
Jump to navigation Jump to search
imported>BD2412
(Intentional disambiguation linking as mandated by WP:INTDABLINK, to prevent links from disrupting lists of links needing repair.)
imported>Redrose64
(fix v-t-e links)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Data structures
 
| name      = Data structures
| title    = [[Data structure]]s
+
| title    = Notable [[data structure]]s
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 31: Line 31:
 
*[[Hash table]]
 
*[[Hash table]]
 
*[[Hashed array tree]]
 
*[[Hashed array tree]]
*[[Sparse array]]
+
*[[Sparse matrix]]
  
 
| group4 = [[Linked data structure|Linked]]
 
| group4 = [[Linked data structure|Linked]]
Line 65: Line 65:
 
*[[Binary decision diagram]]
 
*[[Binary decision diagram]]
 
*[[Directed acyclic graph]]
 
*[[Directed acyclic graph]]
*[[Directed acyclic word graph (disambiguation)|Directed acyclic word graph]]
+
*[[Deterministic acyclic finite state automaton|Directed acyclic word graph]]
 
| below =  
 
| below =  
 
*[[List of data structures]]
 
*[[List of data structures]]
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{doc|content=
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:Computer science navigational boxes]]
 
[[Category:Computer science navigational boxes]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:39, 10 November 2020

50px Template documentation

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.