ढाँचा:Progress bar
स्वरूप
20% पूरा भयो (अनुमान)
| यस ढाँचामा अप्ठ्यारा सुविधाहरू रहेका छन्। कृपया यस ढाँचालाई सम्पादन गर्नु पूर्व यस ढाँचाको व्यवस्थापन तथा पार्सर प्रणालीहरूसँग परिचित हुनुपर्छ र पनि यदि तपाईँले गरेको सम्पादनबाट कुनै जटिल तथा अप्रत्याशित समस्या आएमा तत्कालै आफ्नो सम्पादन फर्काई दिनुहोला, किनकि यो ढाँचा अत्यधिक सङ्ख्याका लेख/पृष्ठहरूमा प्रयोग भइरहेको छ। स्मरण रहोस्: तपाईँ प्रयोग आदि गर्न सक्नुहुन्छ तर यहाँ कुनै पनि प्रयोग गर्नुपूर्व सबै प्रयोग सामान्य ढाँचा प्रयोगस्थलमा अथवा आफ्नो प्रयोगकर्ता प्रयोगस्थलमा गर्नुहोस्। |
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% पूरा भयो (अनुमान)
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% पूरा भयो (अनुमान)
Custom total
[सम्पादन गर्नुहोस्]{{Progress bar|5|total=5}} :
100% पूरा भयो (अनुमान)