ढाँचा:Progression
स्वरूप
ढाँचा कागजात[हेर्नुहोस्] [सम्पादन गर्नुहोस्] [इतिहास] [ताजा गर्नुहोस्]
This template uses TemplateStyles: |
Syntax
[सम्पादन गर्नुहोस्]{{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
[सम्पादन गर्नुहोस्]1 parameter (percent)
[सम्पादन गर्नुहोस्]{{Progression|0}}
:
०% complete | |
{{Progression|0.5}}
:
०.५% complete | ||
{{Progression|1}}
:
१% complete | ||
{{Progression|36.7}}
:
३६.७% complete | ||
{{Progression|100}}
:
१००% complete | |
2 parameters
[सम्पादन गर्नुहोस्]{{Progression|0|250}}
:
०% complete | |
{{Progression|100|250}}
:
४०% complete | ||
{{Progression|200|300}}
:
६६.७% complete | ||
{{Progression|300|300}}
:
१००% complete | |
3 parameters
[सम्पादन गर्नुहोस्]{{Progression|0|250|task=Sorting articles}}
:
Sorting articles: ०% complete | |
{{Progression|100|250|task=Sorting articles}}
:
Sorting articles: ४०% complete | ||