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
edit{{Article length bar/kb|Pagesize}}
Parameters
editThere is one positional parameter: the raw size of the page in bytes (value of {{PAGESIZE}})).
Examples
edit{{Article length bar/kb|3456}}
→ 3.5{{Article length bar/kb|0}}
→ 0{{Article length bar/kb| {{PAGESIZE:France}} }}
⟶ 278{{Article length bar/kb|755891}}
→ 756