메뉴 여닫기
환경 설정 메뉴 여닫기
개인 메뉴 여닫기
로그인하지 않음
지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

Template documentation (for the above template, sometimes partially or fully invisible)[view] [edit] [history] [refresh]
This template makes use of one or more other templates to function.
Depends on: {{Percent}}

This template is used to support {{ElementEfficacyBar}}, {{SlotUpgrade}}, and {{StarRating}}.

It creates a set of {{Percent}} icons.

Syntax

{{PercentBar|Pips|on=Icon Name|off=Icon Name|w=Icon Width|max=Max|game=Game|overlap=}}

Parameters

  • first: The number of "On" icons to show. The rest are "Off" icons.
  • on: The "name", as per standard icon rules, to give to make {{Percent}} icons for the "On" icons.
  • off: The "name", as per standard icon rules, to give to make {{Percent}} icons for the "Off" icons.
  • w: The width of all icons. These must be the same.
  • max: The number of "On" and "Off" icons to show. This is the full bar's width. Max supported is 8.
  • game: The game parameter, passed to the {{Percent}} icon to give it the style.
  • overlap: If blank (or not included), no overlap. If "yes" or some other value, overlap icons by 4px, using Wiki CSS.
The above text is transcluded from 틀:PercentBar/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 틀:PercentBar/doc. (View all subpages of this page.)