Note: Ballotpedia will be read-only from 9pm CST on February 25-March 5 while Judgepedia is merged into Ballotpedia.
For status updates, visit lucyburns.org.

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 style="text-align:center">$71,000</td></tr>|}}<!--
 
-->{{#if:{{{2012|}}}|<tr><td style="text-align:center">2012</td><td style="text-align:center">${{formatnum:{{{2012|0}}}}}<td style="text-align:center">$71,000</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:{{{2012|}}} = 0|N/A|{{#ifexpr:{{{2012|}}} > 0|{{formatnum:{{#expr:(({{{2012|0}}} - {{{Average 0|0}}})/{{{Average 0|0}}}*100)round2}}}}|{{formatnum:{{#expr:(({{{2012|0}}} - {{{Average 0|0}}})/{{{Average 0|0}}}*-100)round2}}}}}}%'''}}</td><td style="text-align:center">'''{{formatnum:{{#expr:((71000 - {{{Citizen 0|0}}})/{{{Citizen 0|0}}}*100)round2}}}}%'''</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:{{{2012|}}} = 0|N/A|{{#ifexpr:{{{2012|}}} > 0|{{formatnum:{{#expr:(({{{2012|0}}} - {{{Average 0|0}}})/{{{Average 0|0}}}*100)round1}}}}|{{formatnum:{{#expr:(({{{2012|0}}} - {{{Average 0|0}}})/{{{Average 0|0}}}*-100)round1}}}}}}%'''}}</td><td style="text-align:center">'''{{formatnum:{{#expr:((71000 - {{{Citizen 0|0}}})/{{{Citizen 0|0}}}*100)round1}}}}%'''</td></tr>|}}</table><noinclude>{{Documentation}}{{reflist}}[[Category:Congress templates]]</noinclude>

Revision as of 11:01, 2 April 2014

{{{Name}}} Yearly Net Worth
YearAvg. Net WorthAvg. Citizen Net Worth
[create] Template-info.png Template documentation