[yenile]
Bu bir belgeleme sayfası ve içeriği ana şablonun sayfasına görünecek. Daha fazla için Şablon:Belgeleme sayfasına bakınThis template shows a percentage completed between two values in the form of a progress bar. This may be useful for showing the completion of a project.
Usage[]
{{ProgressBar
|completed things
|total things
|width=bar width with measurement (e.g. %, px)
|type=Replaces "pages" in the text above the bar
|text=Replaces the entire text shown above the bar
|notext=Don't show the text above the bar
|style=Overall styling
|textstyle=Text styling
|barstyle=Progress bar styling
|completedstyle=Completed bar styling
}}
The completed things, total things and percentage of completed things can be shown in the text by using these variables in the text parameter:
$1, number of completed items$2, the number of total items$%, percentage completed
Examples[]
{{ProgressBar|50|100}}
50 of 100 pages have been completed
{{ProgressBar
|120
|200
|width=200px
|style=margin: 0
|barstyle=border-color: #CCC; background-color: #F9F9F9
|completedstyle=background-color: #729FCF
|notext=1
}}
{{ProgressBar
|{{PAGESINCATEGORY:HESI-Item-Checked|pages|R}}
|38
|width=80%
|type=[[:Category:HESI-Item-Checked|item pages]]
}}
0 of 38 item pages have been completed
{{ProgressBar
|{{PAGESINCATEGORY:HESI-Entity-Checked|pages|R}}
|60
|width=80%
|text=Of the $2 [[:Category:HESI-Entity-Checked|entity pages]]: <big>'''$%'''</big> have been processed by project members.
}}
Of the 60 entity pages: 0% have been processed by project members.