Template:CompUnits
Appearance
Usage
[edit]This template can be used to quickly add definitions for the binary definitions of KB, MB, GB, etc. to article footnotes. Examples:
Code | Example |
---|---|
{{CompUnits|KB}}
|
1 byte = 8 bits 1 KB = 1,024 bytes |
{{CompUnits|TB}}
|
1 byte = 8 bits 1 TB = 1,099,511,627,776 bytes |
{{CompUnits|KBMB}} (you can do multiple at once)
|
1 byte = 8 bits 1 KB = 1,024 bytes 1 MB = 1,048,576 bytes |
{{CompUnits|TBEBKB}} (note how even if they aren't ordered correctly, the template sorts them in ascending order)
|
1 byte = 8 bits 1 KB = 1,024 bytes 1 TB = 1,099,511,627,776 bytes 1 EB = 1,152,921,504,606,846,976 bytes |
{{CompUnits|KBMBGBTBPBEBYBZBRBQB}}
|
1 byte = 8 bits 1 KB = 1,024 bytes 1 MB = 1,048,576 bytes 1 GB = 1,073,741,824 bytes 1 TB = 1,099,511,627,776 bytes 1 PB = 1,125,899,906,842,624 bytes 1 EB = 1,152,921,504,606,846,976 bytes 1 YB = 1,180,591,620,717,411,303,424 bytes 1 ZB = 1,208,925,819,614,629,174,706,176 bytes 1 RB = 1,237,940,039,285,380,274,899,124,224 bytes 1 QB = 1,267,650,600,228,229,401,496,703,205,376 bytes |
Related
[edit]- {{BDprefix}}