Template:TSP Election/meta/votebar: Difference between revisions
Jump to navigation
Jump to search
(New template for regional election results) Tag: 2017 source edit |
m (Add rounding for percentage display) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<div style="border: 1px solid black; background: white; height: 1.2em; width: 100px;"><div style="background-color: #{{{2|ddd}}}; height: 100%; width: {{{1|0}}}%; float: left;"></div><div style="position: absolute; width: 100px; text-shadow: 0 0 0.2em white; text-align: center; font-size: 85%;">{{{1|0}}}%</div></div> | <div style="border: 1px solid black; background: white; height: 1.2em; width: 100px;"><div style="background-color: #{{{2|ddd}}}; height: 100%; width: {{{1|0}}}%; float: left;"></div><div style="position: absolute; width: 100px; text-shadow: 0 0 0.2em white; text-align: center; font-size: 85%;">{{#expr: {{{1|0}}} round 2 }}%</div></div> |
Latest revision as of 13:09, 12 November 2022
0%