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

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Changed protection level for "Template:Election box total no change": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>RP88
(add tests for empty parameters)
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;" | '''{{formatnum:{{{votes}}}}}'''
+
| style="text-align:right;" | {{#if:{{{votes}}}|'''{{formatnum:{{{votes}}}}}'''|}}
| style="text-align:right;" | '''{{{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 03:03, 27 March 2018

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