Template:AoRF/progressbar

来自魔法少女小圆维基
Yuri有理汉化组讨论 | 贡献2014年1月28日 (二) 01:40的版本 (以“<noinclude> == Template code == </noinclude><span style='display: inline-block; height: {{{4|24}}}px; width: {{{3|24em}}}; background: white; border: 1px solid #888;...”为内容创建页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

Template code

20%

Samples

Default look 40%
Different color and width 25%
Huge progress bar 89.9%
Multiple bars vertically r: 25%
g: 50%
b: 75%
Multiple bars horizontally x: 40% 50% 60%

Usage

Positional arguments:

  • 1: Progress in percents, 0 - 100.
  • 2: Bar color: red, #0f0, #554433, rgb(187,49,196).
  • 3: Progress bar width: 34px, 22em, 99pt.
  • 4: Progress bar height, in pixels: 24, 48, 5.
  • 5: Font size: 1.65em, 22pt, 40px.