Vote button trans.png
April's Project of the Month
It's spring time. It's primary election season!
Click here to find all the information you'll need to cast your ballot.




Difference between revisions of "Template:Congress election box 1998"

From Ballotpedia
Jump to: navigation, search
m (Text replace - "{{#if: {{{winner3|}}}|{{won}}'''{{{winner17}}}''' }}" to "{{#if: {{{winner17|}}}|{{won}}'''{{{winner17}}}''' }}")
Line 219: Line 219:
 
<td width="25px"> <span style="background-color:#{{#switch:{{lc:{{{party17|{{{1|}}}}}}}}|d|dem|democrat|democratic=00b|r|rep|repub|republican=b00|g|gr|grn|green=0b0|i|ind|independent=bbb|l|lib|libertarian=fd0|p|pf|peace|peace and freedom=000|t|tea=600|v|vt|vtprog|vermont progressive=f60|fff}};">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
 
<td width="25px"> <span style="background-color:#{{#switch:{{lc:{{{party17|{{{1|}}}}}}}}|d|dem|democrat|democratic=00b|r|rep|repub|republican=b00|g|gr|grn|green=0b0|i|ind|independent=bbb|l|lib|libertarian=fd0|p|pf|peace|peace and freedom=000|t|tea=600|v|vt|vtprog|vermont progressive=f60|fff}};">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
 
<td width="75px">{{{party17}}} </td>
 
<td width="75px">{{{party17}}} </td>
<td width="275px" style="text-align:center">{{#if: {{{winner3|}}}|{{won}}'''{{{winner17}}}''' }} {{#if: {{{candidate17|}}}|{{{candidate17}}}}} {{#ifeq: {{{inc17}}}|Y|<small>'''''incumbent'''''</small>}}</td>
+
<td width="275px" style="text-align:center">{{#if: {{{winner17|}}}|{{won}}'''{{{winner17}}}''' }} {{#if: {{{candidate17|}}}|{{{candidate17}}}}} {{#ifeq: {{{inc17}}}|Y|<small>'''''incumbent'''''</small>}}</td>
 
<td width="75" style="text-align:center">{{#if:{{{percent17|}}}|{{{percent17}}}%|{{#expr:{{#expr:({{{votes17|0}}} / ({{{votes1|0}}} + {{{votes2|0}}} + {{{votes3|0}}} + {{{votes4|0}}} + {{{votes5|0}}} + {{{votes6|0}}} + {{{votes7|0}}} + {{{votes8|0}}} + {{{votes9|0}}} + {{{votes10|0}}} + {{{votes11|0}}} + {{{votes12|0}}} + {{{votes13|0}}} + {{{votes14|0}}} + {{{votes15|0}}} + {{{votes16|0}}} + {{{votes17|0}}} + {{{votes18|0}}} + {{{votes19|0}}} + {{{votes20|0}}} + {{{votes21|0}}} + {{{votes22|0}}} + {{{votes23|0}}} + {{{votes24|0}}} + {{{votes25|0}}} + {{{votes26|0}}} + {{{votes27|0}}} + {{{votes28|0}}} + {{{votes29|0}}} + {{{votes30|0}}}))round3}}  * 100}}%}}</td>
 
<td width="75" style="text-align:center">{{#if:{{{percent17|}}}|{{{percent17}}}%|{{#expr:{{#expr:({{{votes17|0}}} / ({{{votes1|0}}} + {{{votes2|0}}} + {{{votes3|0}}} + {{{votes4|0}}} + {{{votes5|0}}} + {{{votes6|0}}} + {{{votes7|0}}} + {{{votes8|0}}} + {{{votes9|0}}} + {{{votes10|0}}} + {{{votes11|0}}} + {{{votes12|0}}} + {{{votes13|0}}} + {{{votes14|0}}} + {{{votes15|0}}} + {{{votes16|0}}} + {{{votes17|0}}} + {{{votes18|0}}} + {{{votes19|0}}} + {{{votes20|0}}} + {{{votes21|0}}} + {{{votes22|0}}} + {{{votes23|0}}} + {{{votes24|0}}} + {{{votes25|0}}} + {{{votes26|0}}} + {{{votes27|0}}} + {{{votes28|0}}} + {{{votes29|0}}} + {{{votes30|0}}}))round3}}  * 100}}%}}</td>
 
<td width="100" style="text-align:center">{{formatnum:{{{votes17|0}}}}}</td>
 
<td width="100" style="text-align:center">{{formatnum:{{{votes17|0}}}}}</td>

Revision as of 13:50, 18 October 2013

{{{chamber}}}, 1998
Party Candidate Vote % Votes
Total Votes 0
[create] Template-info.png Template documentation