Template:Progression
テンプレートの解説
構文
- {{Progression|percent}}
The percent
is a number between 0 and 100, without the trailing %
.
- {{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.
例
パラメーター1個 (割合)
{{Progression|0}}:
0% 完了 | |
|
{{Progression|0.5}}:
0.5% 完了 | ||
|
{{Progression|1}}:
1% 完了 | ||
|
{{Progression|36.7}}:
36.7% 完了 | ||
|
{{Progression|100}}:
100% 完了 | |
|
パラメーター2個
{{Progression|0|250}}:
0% 完了 | |
|
{{Progression|100|250}}:
40% 完了 | ||
|
{{Progression|200|300}}:
66.7% 完了 | ||
|
{{Progression|300|300}}:
100% 完了 | |
|
パラメーター3個
{{Progression|0|250|task=Sorting articles}}:
Sorting articles: 0% 完了 | |
|
{{Progression|100|250|task=Sorting articles}}:
Sorting articles: 40% 完了 | ||
|