Sjabloon:Voortgang

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Template:Progression and the translation is 70% complete.
Template documentation

Syntax

{{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}}

Calculates the progression as a function of param1/param2, and displays a task label on the bar.

Voorbeelden

1 parameter (percentage)

{{Progression|0}}:

0% voltooid
 


{{Progression|0.5}}:

0,5% voltooid
   


{{Progression|1}}:

1% voltooid
   


{{Progression|36.7}}:

36,7% voltooid
   


{{Progression|100}}:

100% voltooid
 


2 parameters

{{Progression|0|250}}:

0% voltooid
 


{{Progression|100|250}}:

40% voltooid
   


{{Progression|200|300}}:

66,7% voltooid
   


{{Progression|300|300}}:

100% voltooid
 


3 parameters

{{Progression|0|250|task=Sorting articles}}:

Sorting articles: 0% voltooid
 


{{Progression|100|250|task=Sorting articles}}:

Sorting articles: 40% voltooid