Template:Progress bar: Difference between revisions

From FamilySearch Wiki
No edit summary
m (Text replacement - " " to " ")
 
Line 1: Line 1:
<div style="width:{{{width|75%}}}; margin:auto; text-align:center;">
<div style="width:{{{width|75%}}}; margin:auto; text-align:center;">
{{#ifeq: {{{header|yes}}} | yes | <p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) * 100 round 1}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p> |  }}
{{#ifeq: {{{header|yes}}} | yes | <p><big>'''{{#expr:( {{{1|<noinclude>2</noinclude>0}}} / {{{total|100}}} ) * 100 round 1}}%'''</big> {{{text|completed <small>(estimate)</small>}}}</p> |  }}
<p style="border:1px solid black; padding:1px; overflow:hidden;"><span style="width:{{#expr: ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#7fff00; float:left;">&nbsp;</span><span style="width:{{#expr: 100 - ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#ff7f50; float:left;">&nbsp;</span></p>
<p style="border:1px solid black; padding:1px; overflow:hidden;"><span style="width:{{#expr: ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#7fff00; float:left;"> </span><span style="width:{{#expr: 100 - ({{{1|<noinclude>2</noinclude>0}}}/{{{total|100}}}) * 100}}%; height:{{{height|2}}}px; background:#ff7f50; float:left;"> </span></p>
</div><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
</div><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 21:26, 30 October 2023

20% completed (estimate)

[view] [edit] [history] [purge] Documentation icon Template documentation