Difference between revisions of "Template:BDprefix"
imported>Headbomb m (space fix) |
imported>Mange01 m |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{p|}}} | <includeonly>{{#switch:{{{p|}}} | ||
| − | |B|b|Binary|binary=Transistorized memory, such as RAM and cache sizes | + | |B|b|Binary|binary=Transistorized memory, such as RAM, ROM, flash and cache sizes as well as file sizes are specified using [[binary prefix|binary meanings]] for K (1024<sup>1</sup>), M (1024<sup>2</sup>), G (1024<sup>3</sup>), ... |
| − | |D|d|Decimal|decimal=Disk-based memory (hard drives), solid state disk devices such as USB drives | + | |D|d|Decimal|decimal=Disk-based memory (hard drives), solid state disk devices such as USB drives, DVD-based storage, bit rates, bus speeds, and network speeds, are specified using [[SI prefix|decimal meanings]] for K (1000<sup>1</sup>), M (1000<sup>2</sup>), G (1000<sup>3</sup>), ... |
|F|f|Floppy|floppy= The "floppy disk megabyte" is a kilo-"binary kilobyte" ({{nowrap|1000 ×1024 bytes}}), or 1,024,000 bytes. | |F|f|Floppy|floppy= The "floppy disk megabyte" is a kilo-"binary kilobyte" ({{nowrap|1000 ×1024 bytes}}), or 1,024,000 bytes. | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:15, 6 June 2009
Usage
To call the template simply write {{BDprefix|p=}}. Possible arguments for p are:
| p value | Invokes | Resulting text |
|---|---|---|
| B, b, Binary, binary | Disambiguation for a binary meaning |
Transistorized memory, such as RAM, ROM, flash and cache sizes as well as file sizes are specified using binary meanings for K (10241), M (10242), G (10243), ... |
| D, d, Decimal, decimal | Disambiguation for a decimal meaning |
Disk-based memory (hard drives), solid state disk devices such as USB drives, DVD-based storage, bit rates, bus speeds, and network speeds, are specified using decimal meanings for K (10001), M (10002), G (10003), ... |
| F, f, Floppy, floppy | Disambiguation for the "floppy-disk megabyte" |
The "floppy disk megabyte" is a kilo-"binary kilobyte" (1000 ×1024 bytes), or 1,024,000 bytes. |
Effects
Emits page text suitable for use in a footnote, a standardized format as supplied by the template, disambiguating the treatment of units associated with the computer industry, for one of several different inconsistent contexts.
See also
- {{Bitrates}}
- {{Bit and byte prefixes}}
- {{Quantities of bits}}
- {{Quantities of bytes}}
- Script error: No such module "Section link".
| The above documentation is transcluded from Template:BDprefix/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |