PGI logo cropped.png
Congressional Millionaire’s Club
The Personal Gain Index shines a light on how members of Congress benefit during their tenure.





Difference between revisions of "Template:Net worth PIG"

From Ballotpedia
Jump to: navigation, search
Line 9: Line 9:
 
-->{{#if:{{{2012|}}}|<tr><td style="text-align:center">2012</td><td style="text-align:center">${{formatnum:{{{2012|0}}}}}</td></tr>|}}<!--
 
-->{{#if:{{{2012|}}}|<tr><td style="text-align:center">2012</td><td style="text-align:center">${{formatnum:{{{2012|0}}}}}</td></tr>|}}<!--
  
-->{{#if:{{{Year 0|}}}|<tr><td style="color:white;background-color:#444;text-align:center">'''Growth from {{{Year 0|}}} to 2012:'''</td><td style="text-align:center">'''{{#ifexpr:{{{Average 0|}}} > 0|{{#ifexpr:{{{Average 0|}}} > 0|{{formatnum:{{#expr:(({{{2012|0}}} - {{{Average 0|0}}})/{{{Average 0|0}}}*100)round1}}}}|N/A}}}}%'''}}</td></tr>|}}</table><noinclude>{{Documentation}}{{reflist}}[[Category:Congress templates]]</noinclude>
+
-->{{#if:{{{Year 0|}}}|<tr><td style="color:white;background-color:#444;text-align:center">'''Growth from {{{Year 0|}}} to 2012:'''</td><td style="text-align:center">'''{{#ifexpr:{{{Average 0|}}} > 0|{{#ifexpr:{{{Average 0|}}} > 0|{{formatnum:{{#expr:(({{{2012|0}}} - {{{Average 0|0}}})/{{{Average 0|0}}}*100)round1}}}}|N/A}}}}%'''</td></tr>|}}</table><noinclude>{{Documentation}}{{reflist}}[[Category:Congress templates]]</noinclude>

Revision as of 13:41, 19 June 2014

{{{Name}}} Yearly Net Worth
YearAverage Net Worth
[create] Template-info.png Template documentation