Read the State Legislative Tracker. New edition available now!

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

From Ballotpedia
Jump to: navigation, search
m
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 2004. During that election cycle, {{{name}}} raised a total of '''${{formatnum:{{{total raised}}}}}'''.
 
{{{name}}} {{#switch: {{{new|}}}|yes=won election|no=won re-election|lost=lost the election|off=was not up for election}} to the {{{office}}} in 2004. During that election cycle, {{{name}}} raised a total of '''${{formatnum:{{{total raised}}}}}'''.
<table border="1" cellpadding="4" cellspacing="0" width="600px" class="collapsible collapsed" >
+
<table border="1" cellpadding="4" cellspacing="0" width="600px" class="collapsible collapsed">
<tr>
+
<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}}} 2004 election - Campaign Contributions'''</th></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}}} 2004 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 2004'''</td></tr>
<tr>
+
{{#if:{{{org1|}}}|<tr><td width="250" style="text-align:left">''{{{org1}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount1}}}}}</td></tr>|}}
<td style="text-align:center; background-color:#C0C0C0;" colspan="2">'''Top contributors to {{#if:{{{full name|}}}|{{{full name}}}|{{PAGENAME}}}}'s campaign in 2004'''</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:{{{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:{{{org3|}}}|<tr><td width="250" style="text-align:left">''{{{org3}}}''</td><td width="250" style="text-align:center">${{formatnum:{{{orgamount3}}}}}</td></tr>|}}

Revision as of 15:16, 1 July 2013

{{{name}}} to the {{{office}}} in 2004. During that election cycle, {{{name}}} raised a total of ${{{total raised}}}.



[create] Template-info.png Template documentation