defzone.net@gmail.comLiên hệ
DZ
DefZone.Net

Kien thuc cong nghe & giai tri

Bai vietDia diemAlbum anhGameCua hang
  1. Home
  2. Wiki
Template documentation[view] [edit] [history] [purge]
CSSThis template uses TemplateStyles:
  • Template:Progression/styles.css (sandbox)

Syntax

[edit]
{{Progression|percent}}

The percent is a number between 0 and 100, without the trailing %.

Optionally, the decimal parameter will set the number of decimal places to be rounded. If not specified, defaults to 1.

{{Progression|param1|param2}}

Calculates the progression as a function of param1/param2

{{Progression|param1|param2|task=param3}}

Calculates the progression as a function of param1/param2, and displays a task label on the bar.

Examples

[edit]

1 parameter (percent)

[edit]

{{Progression|0}} :

0% complete

{{Progression|0.5}} :

0.5% complete

{{Progression|1}} :

1% complete

{{Progression|36.7}} :

36.7% complete

{{Progression|100}} :

100% complete

2 parameters

[edit]

{{Progression|0|250}} :

0% complete

{{Progression|100|250}} :

40% complete

{{Progression|200|300}} :

66.7% complete

{{Progression|300|300}} :

100% complete

3 parameters

[edit]

{{Progression|0|250|task=Sorting articles}} :

Sorting articles: 0% complete

{{Progression|100|250|task=Sorting articles}} :

Sorting articles: 40% complete

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Progression in articles based on its TemplateData.

TemplateData for Progression

The template is used to create a progression bar.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
value1

The current value of the progression.

Numbersuggested
max value2 total

The total value of the progression bar

Default
100
Numberoptional
widthwidth

The CSS width of the progression bar. Unit is required.

Example
100px, 30em
Stringoptional
tasktask

The name displayed before the value.

Example
Sorting articles
Lineoptional
decimaldecimal

The decimal to be rounded to

Numberoptional
hide completehidecomplete

Whether hide the display of number of completion.

Default
0
Booleanoptional
  • v
  • t
  • e
Progress templates
General progress templates
  • {{Progress bar}}
  • {{Progression}}
  • {{Composition bar}}
  • {{Composition bar/advanced}}
  • {{Composition bar compact}}
  • {{Composition histogram}}
  • {{Percentage bar}}
  • {{Number and percent}}
  • {{Progress meter}}
  • {{Percentile}}
  • {{Stacked bar}}
Specific-use templates
  • {{Backlog progress bar}}
  • {{Progress box}}
  • {{Progression rainbow}}
  • {{WikiProject assessment progression}}
  • {{Article length bar}}
  • Category
  • List (partial)
The above documentation is transcluded from Template:Progression/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
DZ
DefZone.Net

Noi chia se kien thuc, huong dan va kham pha cong nghe.

Lien ket nhanh

Trang chủBài viếtWikiCửa hàngLiên hệ

Liên hệ

Email: defzone.net@gmail.com
Điện thoại: +84 762 559 696
Địa chỉ: Thiên Hương, Thủy Nguyên, Hải Phòng

Đăng ký nhận tin

Nhận bài viết và cập nhật mới nhất qua email.

© 2025 DefZone.Net. All rights reserved.
PrivacyTermsSitemap