Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24389dc3adba40c

Jump to content

Template:Percentile/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{Percentile
| <number>
| width
| height
| text-size
| text-colour
| as-of
| progress-done-colour
| progress-tbd-colour
}}
Parameter Description Default Notes
The percentage done you want to display (between 0 and 100). <none> REQUIRED
width The width of the progress bar, in pixels. 200
height The height of the progress bar, in pixels. 5
text-size If set to a non-zero value, it causes the value of the progress to be displayed over the progress bar. The font size of the text is the value of text-size. 0
text-colour The font colour of the text is the value of text-colour. #000000
as-of If set, it causes a line of text to be displayed after the progress bar. The text is "(As of <as-of>)". <none>
progress-done-colour The colour of the "done" part of the progress bar. #7fff00
progress-tbd-colour The colour of the "to be done" part of the progress bar. #ff7f50

Examples

[edit]

{{percentile|75}}

{{percentile|33|width=500|height=20|text-size=10|text-colour=white|progress-done-colour=steelblue|progress-tbd-colour=indianred}}

33%

{{percentile|0}}

{{percentile|100}}