Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Template:Progression

From Appropedia
Jump to: navigation, search
This year is: 64.9% complete
[view] [edit] [history] [purge] Documentation icon Template documentation

Syntax[edit]

{{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[edit]

given percent[edit]

{{Progression|0}} :

0% complete

{{Progression|36.7}} :

36.7% complete

given percent + label[edit]

{{Progression|50|task=Half way is}} :

Half way is: 50% complete

{{Progression|100|task=Homework}} :

Homework: 100% complete

calculated percent[edit]

{{Progression|100|250}} :

40% complete

{{Progression|200|300}} :

66.7% complete

calculated percent + label[edit]

{{Progression|{{NUMBEROFARTICLES:R}}|6000|task=Go from {{NUMBEROFARTICLES}} to 6,000 articles}} :

Go from 8,403 to 6,000 articles: 140.1% complete

{{Progression|{{#expr:({{CURRENTWEEK}}-1)*7+{{CURRENTDOW}}}}|365|task=This year is}} :

This year is: 64.9% complete

See also[edit]


Wikipedia
This page or section includes content from Wikipedia. The original article was at Template:Progression. The list of authors can be seen in the history for that page. As with Appropedia, the text of Wikipedia is available under the CC-BY-SA.