Şablon:Progression
TemplateStyles bi kar tîne: |
Syntax
[çavkaniyê biguhêre]{{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
[çavkaniyê biguhêre]1 parameter (percent)
[çavkaniyê biguhêre]{{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
[çavkaniyê biguhêre]{{Progression|0|250}}
:
0% complete | |
{{Progression|100|250}}
:
40% complete | ||
{{Progression|200|300}}
:
66,7% complete | ||
{{Progression|300|300}}
:
100% complete | |
3 parameters
[çavkaniyê biguhêre]{{Progression|0|250|task=Sorting articles}}
:
Sorting articles: 0% complete | |
{{Progression|100|250|task=Sorting articles}}
:
Sorting articles: 40% complete | ||
TemplateData
[çavkaniyê biguhêre]TemplateData ji bo Progression
The template is used to create a progression bar.
Parametre | Danasîn | Cure | Rewş | |
---|---|---|---|---|
value | 1 | The current value of the progression. | Hejmar | pêşniyazkirî |
max value | 2 total | The total value of the progression bar
| Hejmar | ne pêwîst |
width | width | The CSS width of the progression bar. Unit is required.
| Nivîs | ne pêwîst |
task | task | The name displayed before the value.
| Xet | ne pêwîst |
decimal | decimal | The decimal to be rounded to | Hejmar | ne pêwîst |
hide complete | hidecomplete | Whether hide the display of number of completion.
| Erê/Na | ne pêwîst |