Template:Datacalc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 24: | Line 24: | ||
| megabytes | mb = {{#switch:{{{id}}}|abbreviate=MB|none=|#default={{#switch:{{{prefix}}}|binary=mibibytes|#default=megabytes}}}} | | megabytes | mb = {{#switch:{{{id}}}|abbreviate=MB|none=|#default={{#switch:{{{prefix}}}|binary=mibibytes|#default=megabytes}}}} | ||
| kilobytes | kb = {{#switch:{{{id}}}|abbreviate=kB|none=|#default={{#switch:{{{prefix}}}|binary=kibibytes|#default=kilobytes}}}} | | kilobytes | kb = {{#switch:{{{id}}}|abbreviate=kB|none=|#default={{#switch:{{{prefix}}}|binary=kibibytes|#default=kilobytes}}}} | ||
| #default = bytes | | #default = {{#switch:{{{id}}}|abbreviate=B|none=|#default=bytes}} | ||
}}</includeonly></onlyinclude>{{doc}}[[Category:Mathematics templates]] | }}</includeonly></onlyinclude>{{doc}}[[Category:Mathematics templates]] |
Revision as of 01:37, 3 June 2023
Todo: Implement a input filesize parameter that determines the exponentiation of the output filesize.
The above documentation is transcluded from Template:Datacalc/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.