메뉴 여닫기
환경 설정 메뉴 여닫기
개인 메뉴 여닫기
로그인하지 않음
지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.
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 0 or trunc(X) before passing in a value X to 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 as px). Defaults to 100px wide.
  • 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.)