틀:ContinuousPercentBar
kiseki
다른 명령
Template documentation (for the above template, sometimes partially or fully invisible)[view] [edit] [history] [refresh]
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.
The above text is transcluded from 틀:ContinuousPercentBar/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to 틀:ContinuousPercentBar/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to 틀:ContinuousPercentBar/doc. (View all subpages of this page.)