Difference between revisions of "User:Wookipan/Percentage bar"
(Test) |
m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div style=" | + | <div style="display:none">{{#expr: {{formatnum:{{{1|0}}}|R}} / {{formatnum:{{{total|100}}}|R}}}}</div><!-- Sort key |
− | --><div style="border:{{{border|1px solid # | + | --><div style="border:{{{border|1px solid #fff}}}; padding:{{{padding|1px}}}; overflow:hidden; width:{{{width|50%}}}; margin: none; font-size:xx-small; text-align:right; {{{style|}}}"><!-- |
--><span style=" | --><span style=" | ||
width: {{#expr: {{formatnum:{{{1|<noinclude>3</noinclude>0}}}|R}} / {{formatnum:{{{total|100}}}|R}} * 100}}%; | width: {{#expr: {{formatnum:{{{1|<noinclude>3</noinclude>0}}}|R}} / {{formatnum:{{{total|100}}}|R}} * 100}}%; | ||
height: {{{height|12px}}}; | height: {{{height|12px}}}; | ||
− | background:{{{color1|# | + | background:{{{color1|#70B04A}}}; |
float:left; | float:left; | ||
line-height:{{{height|12px}}}; | line-height:{{{height|12px}}}; | ||
Line 15: | Line 15: | ||
}} | }} | ||
height:{{{height|12px}}}; | height:{{{height|12px}}}; | ||
− | |||
float:left; | float:left; | ||
{{{style2|}}} | {{{style2|}}} | ||
"> </span><!-- | "> </span><!-- | ||
− | --></div> | + | --></div><noinclude> |