Difference between revisions of "User:Wookipan/Percentage bar"
(Test) |
m (fix'ed) |
||
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 #000000}}}; padding:{{{padding|1px}}}; overflow:hidden; width:{{{width|50%}}}; margin: none; font-size:xx-small; text-align:right; {{{style|}}}"><!-- | + | --><div style="border:{{{border|1px solid #000000}}}; 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}}%; | ||
Line 19: | Line 19: | ||
{{{style2|}}} | {{{style2|}}} | ||
"> </span><!-- | "> </span><!-- | ||
− | --></div> | + | --></div><noinclude> |