틀:ContinuousPercentBar/doc: 두 판 사이의 차이
kiseki
다른 명령
knergy>Ribose5 잔글편집 요약 없음 |
잔글 판 1개를 가져왔습니다 |
(차이 없음)
| |
2024년 3월 17일 (일) 14:51 기준 최신판
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.