Template:Datacalc/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) mNo edit summary |
Mailmanmicky (talk | contribs) mNo edit summary |
||
Line 40: | Line 40: | ||
|- | |- | ||
| {{param|prefix}} | | {{param|prefix}} | ||
| Unit prefix; | | Unit prefix; determinant for exponential power. | ||
| {{CodeBlock|margin=5px|<nowiki>| prefix = binary </nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| prefix = binary </nowiki>}} | ||
| {{datacalc|1000|output=kb|prefix=binary}} | | {{datacalc|1000|output=kb|prefix=binary}} |
Revision as of 12:45, 1 June 2023

This is a documentation subpage for Template:Datacalc.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Template:Datacalc
Summary
Converts a filesize string
Type
Mathematics template
Contributors
Creation date
02/06/2023
(02 June 2022)
(02 June 2022)
Notes
N/A
Subpages
Documentation
Preload
N/A
Sandbox
N/A
Strings
N/A
Testcases
N/A
Other
N/A
Revision information
Latest editor
Mailmanmicky
Last edited
01/06/2023
20230601124510
20230601124510
Revision size
1543 bytes
1.543 kilobytes
0.001543 megabytes
1.543 kilobytes
0.001543 megabytes
Technical information
Page identifier
53975
Contains translations
No
Uses parser functions?
Yes
Uses variables?
No
This template interprets a numbered input string in bytes and converts it into a specified output filesize. For a logical use-case, see Template:Infobox template.
Copy and Paste
Usage & Preview
Parameter | Description | Example | Preview |
---|---|---|---|
{{{1}}} | Input string, interpreted by default as bytes. | 1000 bytes | |
{{{output}}} | Input filesize, i.e.: kilobytes. | 1 kilobytes | |
{{{prefix}}} | Unit prefix; determinant for exponential power. | 0.9765625 kibibytes | |
{{{round}}} | Used to round up the output string | 0.98 kibibytes |