Difference between revisions of "Template:Compression methods"

From blackwiki
Jump to navigation Jump to search
imported>RubenSchade
(converted to use hlist for accessibility as per WP:HLIST)
imported>Frietjes
m (adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
{{ navbox
+
{{navbox
| name = Compression methods
+
| name     = Compression methods
| title = [[Data compression]] methods
+
| title     = [[Data compression]] methods
 +
| state    = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
  
Line 14: Line 15:
  
 
| group2 = [[Lossless data compression|Lossless]]
 
| group2 = [[Lossless data compression|Lossless]]
| list2  = {{Navbox subgroup
+
| list2  = {{Navbox|child| groupwidth = 11em
    | groupstyle = width:11em;
 
    | liststyle = width:auto;
 
  
    | group1 = [[Entropy encoding]]
+
| group1 = [[Entropy encoding]]
    | list1  =  
+
| list1  =  
 
*[[Shannon–Fano coding|Shannon–Fano]]
 
*[[Shannon–Fano coding|Shannon–Fano]]
 
*[[Shannon–Fano–Elias coding|Shannon–Fano–Elias]]
 
*[[Shannon–Fano–Elias coding|Shannon–Fano–Elias]]
Line 33: Line 32:
 
**[[Levenstein coding|Levenstein]]
 
**[[Levenstein coding|Levenstein]]
  
    | group2 = [[Dictionary coder|Dictionary]]
+
| group2 = [[Dictionary coder|Dictionary]]
    | list2  =  
+
| list2  =  
 
*[[Run-length encoding|RLE]]
 
*[[Run-length encoding|RLE]]
 
*[[Byte pair encoding]]
 
*[[Byte pair encoding]]
Line 53: Line 52:
 
*[[Statistical Lempel Ziv]]
 
*[[Statistical Lempel Ziv]]
  
    | group3 = Others
+
| group3 = Others
    | list3  =  
+
| list3  =  
 
*[[Context tree weighting|CTW]]
 
*[[Context tree weighting|CTW]]
 
*[[Burrows–Wheeler transform|BWT]]
 
*[[Burrows–Wheeler transform|BWT]]
Line 63: Line 62:
  
 
| group3 = [[Audio compression (data)|Audio]]
 
| group3 = [[Audio compression (data)|Audio]]
| list3  = {{Navbox subgroup
+
| list3  = {{Navbox|child| groupwidth = 11em
    | groupstyle = width:11em;
 
    | liststyle = width:auto;
 
  
 
| group1 = [[Acoustics|Theory]]
 
| group1 = [[Acoustics|Theory]]
Line 102: Line 99:
  
 
| group4 = [[Image compression|Image]]
 
| group4 = [[Image compression|Image]]
| list4  =
+
| list4  = {{Navbox|child| groupwidth = 11em
{{Navbox subgroup
+
 
| groupstyle = width:11em;
 
| liststyle = width:auto;
 
| state = {{{state|}}}
 
 
| group1 = Terms
 
| group1 = Terms
 
| list1  =  
 
| list1  =  
Line 133: Line 127:
  
 
| group5 = [[Video compression|Video]]
 
| group5 = [[Video compression|Video]]
| list5  =
+
| list5  = {{Navbox|child| groupwidth = 11em
{{Navbox subgroup
 
| groupstyle = width:11em;
 
| liststyle = width:auto;
 
  
 
| group1 = Terms
 
| group1 = Terms
Line 163: Line 154:
 
| below = See [[Template:Compression formats|Compression formats]] for formats and [[Template:Compression software implementations|Compression software implementations]] for codecs
 
| below = See [[Template:Compression formats|Compression formats]] for formats and [[Template:Compression software implementations|Compression software implementations]] for codecs
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
{{documentation}}
 
{{documentation}}
[[Category:Computing templates|{{PAGENAME}}]]
 
 
[[ar:قالب:طرائق الضغط]]
 
[[fr:Modèle:Techniques de compression de données]]
 
[[ja:Template:データ圧縮]]
 
[[ko:틀:압축 방식]]
 
[[ru:Шаблон:Методы сжатия]]
 
[[zh:Template:压缩方法]]
 
 
</noinclude>
 
</noinclude>

Revision as of 16:18, 17 February 2012

Initial visibility: currently defaults to autocollapse

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

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

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

See also