<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AProgress_bar%2Fdoc</id>
	<title>Template:Progress bar/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AProgress_bar%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Progress_bar/doc&amp;action=history"/>
	<updated>2026-04-08T01:35:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Progress_bar/doc&amp;diff=27385&amp;oldid=prev</id>
		<title>Wikipedia&gt;Sheep8144402: /* Optional parameters */ add color1 and color2</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Progress_bar/doc&amp;diff=27385&amp;oldid=prev"/>
		<updated>2022-03-30T14:54:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Optional parameters: &lt;/span&gt; add color1 and color2&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Esoteric}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;Progress bar|&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template draws a progress bar. By default, the &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; to supply as the parameter is the percent, from 0 to 100 (e.g. 1 would mean 1%, .1 would be 0.1%). The text label of the progress bar will always be rounded to the nearest tenth of a percent (rounding up if the hundreds digit is 5; e.g. 50.15 would round to 50.2%). If a value isn&amp;#039;t specified or is invalid, the bar displays 0%.  Values greater than 100% will display incorrectly, although the text label will be correct.&lt;br /&gt;
&lt;br /&gt;
=== Optional parameters ===&lt;br /&gt;
*&amp;lt;code&amp;gt;height&amp;lt;/code&amp;gt; = height of the progress bar in pixels; defaults to 2&lt;br /&gt;
*&amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt; = width of the progress bar; defaults to 75%&lt;br /&gt;
*&amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt;  = message to display after %; defaults to: completed &amp;lt;small&amp;gt;(estimate)&amp;lt;/small&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;total&amp;lt;/code&amp;gt; = amount to use as the denominator (instead of 100), allows the template to compute the percentage on the fly&lt;br /&gt;
*&amp;lt;code&amp;gt;header&amp;lt;/code&amp;gt; = no (or any value other than &amp;quot;yes&amp;quot;, which is the default) suppresses the display of the percentage on the top line&lt;br /&gt;
*&amp;lt;code&amp;gt;color1&amp;lt;/code&amp;gt; = the colour of the filled portion of the progress bar&lt;br /&gt;
*&amp;lt;code&amp;gt;color2&amp;lt;/code&amp;gt; = the colour of the background of the progress bar&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
==== Default configuration ====&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Progress bar|5}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; :&lt;br /&gt;
{{Progress bar|5}}&lt;br /&gt;
&lt;br /&gt;
==== With custom header text ====&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Progress bar|5|text=done}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; :&lt;br /&gt;
{{Progress bar|5|text=done}}&lt;br /&gt;
&lt;br /&gt;
==== Without header text ====&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Progress bar|80|header=no|text=does not display here}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; :&lt;br /&gt;
{{Progress bar|80|header=no|text=does not display here}}&lt;br /&gt;
&lt;br /&gt;
==== Custom height and width ====&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Progress bar|80|height=4|width=50%}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; :&lt;br /&gt;
{{Progress bar|80|height=4|width=50%}}&lt;br /&gt;
&lt;br /&gt;
==== Custom total ====&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Progress bar|5|total=5}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; :&lt;br /&gt;
{{Progress bar|5|total=5}}&lt;br /&gt;
&lt;br /&gt;
{{Progress templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia utility templates]]&lt;br /&gt;
[[Category:Wikipedia progress templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Sheep8144402</name></author>
	</entry>
</feed>