Difference between revisions of "Template:Election box total no change"

From blackwiki
Jump to navigation Jump to search
imported>Neveselbert
(fmt header for contrast)
imported>Jonesey95
(work around invalid input to formatnum)
Line 1: Line 1:
 
|- style="background-color:#F6F6F6"
 
|- style="background-color:#F6F6F6"
 
! colspan="3" style="text-align:right;" | Total votes
 
! colspan="3" style="text-align:right;" | Total votes
| style="text-align:right;" | {{#if:{{{votes}}}|'''{{formatnum:{{{votes}}}}}'''|}}
+
| style="text-align:right;" | {{#if:{{{votes}}}|'''{{formatnum:{{digits|{{{votes}}}}}}}'''|}}
 
| style="text-align:right;" | {{#if:{{{percentage}}}|'''{{{percentage}}}'''|}}
 
| style="text-align:right;" | {{#if:{{{percentage}}}|'''{{{percentage}}}'''|}}
 
|-<noinclude>
 
|-<noinclude>
 
[[Category:Election and referendum infobox templates]]
 
[[Category:Election and referendum infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 04:24, 28 September 2020

|- style="background-color:#F6F6F6" ! colspan="3" style="text-align:right;" | Total votes | style="text-align:right;" | ' | style="text-align:right;" | {{{percentage}}} |-