Difference between revisions of "Template:SLP donor box 2000"

From Ballotpedia
Jump to: navigation, search
Line 1: Line 1:
{{{name}}} {{#switch: {{{new|}}}|yes=won election|no=won re-election|lost=lost the election|off=was not up for election}} to the {{{office}}} in 2000. During that election cycle, {{{name}}} raised a total of '''${{formatnum:{{{total raised}}}}}'''.<table border="1" cellpadding="4" cellspacing="0" width="600px" class="collapsible collapsed"><tr><th style="color:{{#switch:{{{party|}}}|Libertarian = black|#default=white}};background-color:{{#switch:{{{party|}}}|Democratic=blue|Republican=red|Green Party=green|Libertarian=#FFF380|#default=grey}};text-align:center" colspan="2">'''{{{office}}} 2000 election - Campaign Contributions'''</th></tr><tr><td style="text-align:center; background-color:#C0C0C0;" colspan="2">'''Top contributors to {{#if:{{{full name|}}}|{{{full name}}}|{{PAGENAME}}}}'s campaign in 2000'''</td></tr>{{#if:{{{org1|}}}|<tr><td width="250" style="text-align:left">''{{{org1}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount1}}}}}</td></tr>|}}{{#if:{{{org2|}}}|<tr><td width="250" style="text-align:left">''{{{org2}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount2}}}}}</td></tr>|}}{{#if:{{{org3|}}}|<tr><td width="250" style="text-align:left">''{{{org3}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount3}}}}}</td></tr>|}}{{#if:{{{org4|}}}|<tr><td width="250" style="text-align:left">''{{{org4}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount4}}}}}</td></tr>|}}{{#if:{{{org5|}}}|<tr><td width="250" style="text-align:left">''{{{org5}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount5}}}}}</td></tr>|}}<tr><td width="300px" style="text-align:center">'''Total Raised in 2000'''</td><td width="200px" style="text-align:center; color:white; background-color:#000">'''${{formatnum:{{{total raised}}}}}'''</td></tr>{{#if:{{{total votes|}}}|<tr><td width="300px" style="text-align:center">'''Total Votes received in 2000'''</td><td width="200px" style="text-align:center; color:white; background-color:#000">'''{{formatnum:{{{total votes}}}}}'''</td></tr><tr><td width="300px" style="text-align:center">'''Cost of each vote received'''</td><td width="200px" style="text-align:center; color:white; background-color:#000">'''${{formatnum:{{#expr:{{{total raised}}} / {{{total votes}}}round2}}}}'''</td></tr>|}}<!--
+
{{{name}}} {{#switch: {{{new|}}}|yes=won election|no=won re-election to the|lost=lost the election for the|off=was not up for election to the}} {{{office}}} in 2000. During that election cycle, {{{name}}} raised a total of '''${{formatnum:{{{total raised}}}}}'''.<table border="1" cellpadding="4" cellspacing="0" width="600px" class="collapsible collapsed"><tr><th style="color:{{#switch:{{{party|}}}|Libertarian = black|#default=white}};background-color:{{#switch:{{{party|}}}|Democratic=blue|Republican=red|Green Party=green|Libertarian=#FFF380|#default=grey}};text-align:center" colspan="2">'''{{{office}}} 2000 election - Campaign Contributions'''</th></tr><tr><td style="text-align:center; background-color:#C0C0C0;" colspan="2">'''Top contributors to {{#if:{{{full name|}}}|{{{full name}}}|{{PAGENAME}}}}'s campaign in 2000'''</td></tr>{{#if:{{{org1|}}}|<tr><td width="250" style="text-align:left">''{{{org1}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount1}}}}}</td></tr>|}}{{#if:{{{org2|}}}|<tr><td width="250" style="text-align:left">''{{{org2}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount2}}}}}</td></tr>|}}{{#if:{{{org3|}}}|<tr><td width="250" style="text-align:left">''{{{org3}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount3}}}}}</td></tr>|}}{{#if:{{{org4|}}}|<tr><td width="250" style="text-align:left">''{{{org4}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount4}}}}}</td></tr>|}}{{#if:{{{org5|}}}|<tr><td width="250" style="text-align:left">''{{{org5}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount5}}}}}</td></tr>|}}<tr><td width="300px" style="text-align:center">'''Total Raised in 2000'''</td><td width="200px" style="text-align:center; color:white; background-color:#000">'''${{formatnum:{{{total raised}}}}}'''</td></tr>{{#if:{{{total votes|}}}|<tr><td width="300px" style="text-align:center">'''Total Votes received in 2000'''</td><td width="200px" style="text-align:center; color:white; background-color:#000">'''{{formatnum:{{{total votes}}}}}'''</td></tr><tr><td width="300px" style="text-align:center">'''Cost of each vote received'''</td><td width="200px" style="text-align:center; color:white; background-color:#000">'''${{formatnum:{{#expr:{{{total raised}}} / {{{total votes}}}round2}}}}'''</td></tr>|}}<!--
  
 
Reference
 
Reference

Revision as of 10:13, 25 July 2013

{{{name}}} {{{office}}} in 2000. During that election cycle, {{{name}}} raised a total of ${{{total raised}}}.
[create] Template-info.png Template documentation