Template:Composition bar: Difference between revisions

no edit summary
(correction)
No edit summary
Line 2:
|rgb({{#expr:255*{{{3|255}}}}},{{#expr:255*{{{4|0}}}}},{{#expr:255*{{{5|0}}}}})
|{{{hex|{{{3|#CCCCCC}}}}}}
}}; width: {{#expr:floor({{{width|100}}}*{{{1|{{#expr:{{{width|100}}}/2}}}}}/{{{2|{{{width|100}}}}}})}}px; height: 1.5em3em;"></div><div style="position: absolute; font-weight: bold; width: {{{width|100}}}px; line-height: 1.5em3em; text-align: center; z-index: 5; color: {{{color|#000}}};">{{formatnum:{{{1|50}}}}}&nbsp;/&nbsp;{{formatnum:{{{2|100}}}}}{{#if:{{{per|}}}|&nbsp;&nbsp;&nbsp;<span style="{{{perstyle|}}}">({{#expr:(({{{1|50}}}/{{{2|100}}})*100)round 0}}%)</span>}}</div></div><noinclude>
{{Template for discussion/dated|page=Infobox political party/seats|link=Wikipedia:Templates for discussion/Log/2015 January 13#Template:Infobox political party/seats}}
{{Documentation}}
Anonymous user