Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Syntax  





2 Examples  



2.1  1 parameter (percent)  





2.2  2 parameters  





2.3  3 parameters  







3 TemplateData  














Template:Progression






العربية
Asturianu
Azərbaycanca


Ελληνικά
Español
فارسی
Français

Bahasa Indonesia
Italiano
עברית
Қазақша
Kurdî
ि
Македонски
Bahasa Melayu
Nederlands


Norsk bokmål
Occitan
ି
Oʻzbekcha / ўзбекча

Português
Русский
Shqip

Slovenščina
Suomi
Тоҷикӣ
Українська
اردو
Tiếng Vit


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
MediaWiki
Wikidata
Wikisource
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Syntax

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

1 parameter (percent)

{{Progression|0}} :

{{Progression|0.5}} :

{{Progression|1}} :

{{Progression|36.7}} :

{{Progression|100}} :

2 parameters

{{Progression|0|250}} :

{{Progression|100|250}} :

{{Progression|200|300}} :

{{Progression|300|300}} :

3 parameters

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

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Progression in articles based on its TemplateData.

TemplateData for Progression

The template is used to create a progression bar.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
value1

The current value of the progression.

Numbersuggested
max value2 total

The total value of the progression bar

Default
100
Numberoptional
widthwidth

The CSS width of the progression bar. Unit is required.

Example
100px, 30em
Stringoptional
tasktask

The name displayed before the value.

Example
Sorting articles
Lineoptional
decimaldecimal

The decimal to be rounded to

Numberoptional
hide completehidecomplete

Whether hide the display of number of completion.

Default
0
Booleanoptional

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Progression&oldid=1168645085"

Categories: 
Templates using TemplateStyles
Wikipedia utility templates
Wikipedia progress templates
Hidden categories: 
Wikipedia semi-protected templates
Templates using TemplateData
 



This page was last edited on 4 August 2023, at 03:11 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki