Template:Progression/doc

From Our World of Text Wiki

{{Progression}} generates a progress bar based on the inputted values.

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|task=param3}}

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

Examples

1 parameter (percent)

0% complete
 


0.5% complete
   


1% complete
   


36.7% complete
   


100% complete
 


2 parameters

0% complete
 


40% complete
   


66.7% complete
   


100% complete
 


3 parameters

Sorting articles: 0% complete
 


Sorting articles: 40% complete