Difference between revisions of "User:Progress bar"

From GlueXWiki
Jump to: navigation, search
(Created page with "<includeonly><div style="background-color: {{{outer-color|#d8d8d8}}}; border: 1px solid {{{outer-border|#2f2f2f}}}; overflow: hidden; {{{outer-style|}}}"><div style="width: {{...")
 
Line 1: Line 1:
<includeonly><div style="background-color: {{{outer-color|#d8d8d8}}}; border: 1px solid {{{outer-border|#2f2f2f}}}; overflow: hidden; {{{outer-style|}}}"><div style="width: {{#expr:100*({{{progress|1}}}/{{{total}}})}}%; background-color: {{{inner-color|#b2ff00}}}; color: {{{inner-font|#2f2f2f}}}; margin: 0; white-space: nowrap; padding: 2px; font-size: .9em; {{{inner-style|}}}">{{#if:{{{inner-text|}}}|{{{inner-text}}}|{{#if:{{{units|}}}|{{{progress|1}}} {{{units}}}|{{#expr:100*({{{progress|1}}}/{{{total}}}) round 0}}%}}}}</div></div></includeonly><noinclude>
+
<includeonly>
 +
<div style="background-color: {{{outer-color|#d8d8d8}}}; border: 1px solid {{{outer-border|#2f2f2f}}}; overflow: hidden; {{{outer-style|}}}">
 +
<div style="width: {{#expr:100*({{{progress|1}}}/{{{total}}})}}%; background-color: {{{inner-color|#b2ff00}}}; color: {{{inner-font|#2f2f2f}}}; margin: 0; white-space: nowrap; padding: 2px; font-size: .9em; {{{inner-style|}}}">{{#if:{{{inner-text|}}}|{{{inner-text}}}|{{#if:{{{units|}}}|{{{progress|1}}} {{{units}}}|{{#expr:100*({{{progress|1}}}/{{{total}}}) round 0}}%}}}}
 +
</div>
 +
</div>
 +
</includeonly>
 +
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
[[Category:Templates]]</noinclude>
+
[[Category:Templates]]
 +
</noinclude>

Revision as of 10:03, 21 January 2022


Template:Documentation