Template:Article length bar/kb/doc: Difference between revisions
Template page
More actions
Created page with "{{Documentation subpage}} {{tsh|Alb/kb}} Returns the rounded kilobyte value of a given pagesize, with two significant figures under 10,000 bytes, and three over it. ==Usage== {{tlc|Article length bar/kb|''Pagesize''}} ==Parameters== There is one positional parameter: the raw size of the page in bytes (value of {{((}}PAGESIZE{{))}})). ==Examples== * {{tlx|Article length bar/kb|3456|code=y|_show_result=y}} * {{tlx|Article length bar/kb|0|code=y|_show_result=y}} * <code>..." |
(No difference)
|
Latest revision as of 02:44, 19 February 2025
| This is a documentation subpage for Template:Article length bar/kb. It may contain usage information, categories and other content that is not part of the original template page. |
Returns the rounded kilobyte value of a given pagesize, with two significant figures under 10,000 bytes, and three over it.
Usage
{{Article length bar/kb|Pagesize}}
Parameters
There is one positional parameter: the raw size of the page in bytes (value of {{PAGESIZE}})).
Examples
{{Article length bar/kb|3456}}? 3.5{{Article length bar/kb|0}}? 0{{Article length bar/kb| {{PAGESIZE:France}} }}⟶ 0{{Article length bar/kb|755891}}? 756