틀:ContinuousPercentBar/doc
kiseki
다른 명령
This template shows a continuous bar showing some ratio, or percentage.
Parameters
- first: The first parameter is the current value (out of 100) to show. Use
X round 0ortrunc(X)before passing in a valueXto make sure it's a whole number. color: Color of the value part.bg: Color of the background part.w: Optional. Width (in pixels) of the bar. Do not a CSS unit (such aspx). Defaults to100pxwide.grad: Optional. If "yes", use the following four parameters to provide a gradient background if supported by browsers (93% of browsers do globally as of Dec 2016).color_grad_top: Color of the value at top of bar.color_grad_btm: Color of the value at bottom of bar.bg_grad_top: Color of the background at top of bar.bg_grad_btm: Color of the background at bottom of bar.