Template:Progress bar
20% completed (estimate)
Usage
{{Progress bar|value}}
This template draws a progress bar. By default, the value to supply as the parameter is the percent, from 0 to 100 (e.g. 1 would mean 1%, .1 would be 0.1%). If a value isn't specified or is invalid, the bar displays 0%. Values greater than 100% will display incorrectly, although the text label will be correct.
Optional parameters
height= height of the progress bar in pixels; defaults to 2width= width of the progress bar; defaults to 75%text= message to display after %; defaults to: completed (estimate)total= amount to use as the denominator (instead of 100), allows the template to compute the percentage on the flyheader= no (or any value other than "yes", which is the default) suppresses the display of the percentage on the top linecolor1= the colour of the filled portion of the progress barcolor2= the colour of the background of the progress bardecimal= the number of decimal places to round to; defaults to 1
Examples
Default configuration
{{Progress bar|5}} :
5% completed (estimate)
With custom header text
{{Progress bar|5|text=done}} :
5% done
Without header text
{{Progress bar|80|header=no|text=does not display here}} :
Custom height and width
{{Progress bar|80|height=4|width=50%}} :
80% completed (estimate)
Custom total
{{Progress bar|5|total=5}} :
100% completed (estimate)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.