Difference between revisions of "Template:Financial update"
Jump to navigation
Jump to search
(updated to be rounded) |
(added table width adjustment) |
||
Line 1: | Line 1: | ||
<noinclude>{{esoteric}} | <noinclude>{{esoteric}} | ||
</noinclude> | </noinclude> | ||
− | {| style="margin:4px 0 0 0; background:none; width: 320px;" | + | {| style="margin:4px 0 0 0; background:none; width: {{{width|320px}}};" |
|style="background-color: #FFD966; padding: 4px 6px 4px 6px; border-top-left-radius: 1em; -moz-border-radius-topleft: 1em; -webkit-border-radius-topleft: 1em; border-top-right-radius: 1em; -moz-border-radius-topright: 1em; -webkit-border-radius-topright: 1em; vertical-align: top; font-weight: bold;"| | |style="background-color: #FFD966; padding: 4px 6px 4px 6px; border-top-left-radius: 1em; -moz-border-radius-topleft: 1em; -webkit-border-radius-topleft: 1em; border-top-right-radius: 1em; -moz-border-radius-topright: 1em; -webkit-border-radius-topright: 1em; vertical-align: top; font-weight: bold;"| | ||
− | { | + | {| style="width: 100%;" |
− | | style="width: | + | | GROSS INCOME FROM DUES |
| style="width: 100px; text-align: right;" | {{decimals|{{{gross_income|<includeonly>0</includeonly><noinclude>1200</noinclude>}}}|2}} | | style="width: 100px; text-align: right;" | {{decimals|{{{gross_income|<includeonly>0</includeonly><noinclude>1200</noinclude>}}}|2}} | ||
|} | |} | ||
|- | |- | ||
| style="background-color: #F9F9F9; padding: 4px 6px 4px 6px;" | | | style="background-color: #F9F9F9; padding: 4px 6px 4px 6px;" | | ||
− | { | + | {| style="width: 100%;" |
− | | style="width: | + | | Rent |
| style="width: 100px; text-align: right;" | {{decimals|{{{rent|-{{rent bill}}}}}|2}} | | style="width: 100px; text-align: right;" | {{decimals|{{{rent|-{{rent bill}}}}}|2}} | ||
|- | |- | ||
Line 82: | Line 82: | ||
|- | |- | ||
| style="background-color:#{{#ifexpr: {{decimals| {{#expr: {{{gross_income|<includeonly>0</includeonly><noinclude>1200</noinclude>}}} + {{{rent|-{{rent bill}}}}} + {{{insurance|-{{insurance bill}}}}} + {{{cable|-{{cable bill}}}}} + {{{utilities|<includeonly>0</includeonly><noinclude>-130</noinclude>}}} + {{{paypal_fees|<includeonly>0</includeonly><noinclude>-50</noinclude>}}} + {{{other1|0}}} + {{{other2|0}}} + {{{other3|0}}} + {{{other4|0}}} + {{{other5|0}}} + {{{other6|0}}} + {{{other7|0}}} + {{{other8|0}}} + {{{other9|0}}} + {{{other10|0}}} }} | 2 }} > 0 | 93C47D | DD7E6B }}; color: white; padding: 4px 6px 4px 6px; font-weight: bold; border-bottom-left-radius: 1em; -moz-border-radius-bottomleft: 1em; -webkit-border-radius-bottomleft: 1em; border-bottom-right-radius: 1em; -moz-border-radius-bottomright: 1em; -webkit-border-radius-bottomright: 1em;" | | | style="background-color:#{{#ifexpr: {{decimals| {{#expr: {{{gross_income|<includeonly>0</includeonly><noinclude>1200</noinclude>}}} + {{{rent|-{{rent bill}}}}} + {{{insurance|-{{insurance bill}}}}} + {{{cable|-{{cable bill}}}}} + {{{utilities|<includeonly>0</includeonly><noinclude>-130</noinclude>}}} + {{{paypal_fees|<includeonly>0</includeonly><noinclude>-50</noinclude>}}} + {{{other1|0}}} + {{{other2|0}}} + {{{other3|0}}} + {{{other4|0}}} + {{{other5|0}}} + {{{other6|0}}} + {{{other7|0}}} + {{{other8|0}}} + {{{other9|0}}} + {{{other10|0}}} }} | 2 }} > 0 | 93C47D | DD7E6B }}; color: white; padding: 4px 6px 4px 6px; font-weight: bold; border-bottom-left-radius: 1em; -moz-border-radius-bottomleft: 1em; -webkit-border-radius-bottomleft: 1em; border-bottom-right-radius: 1em; -moz-border-radius-bottomright: 1em; -webkit-border-radius-bottomright: 1em;" | | ||
− | { | + | {| style="width: 100%;" |
− | | style="width: | + | | NET |
| style="width: 100px; text-align: right;" | {{decimals| {{#expr: {{{gross_income|<includeonly>0</includeonly><noinclude>1200</noinclude>}}} + {{{rent|-{{rent bill}}}}} + {{{insurance|-{{insurance bill}}}}} + {{{cable|-{{cable bill}}}}} + {{{utilities|<includeonly>0</includeonly><noinclude>-130</noinclude>}}} + {{{paypal_fees|<includeonly>0</includeonly><noinclude>-50</noinclude>}}} + {{{other1|0}}} + {{{other2|0}}} + {{{other3|0}}} + {{{other4|0}}} + {{{other5|0}}} + {{{other6|0}}} + {{{other7|0}}} + {{{other8|0}}} + {{{other9|0}}} + {{{other10|0}}} }} | 2 }} | | style="width: 100px; text-align: right;" | {{decimals| {{#expr: {{{gross_income|<includeonly>0</includeonly><noinclude>1200</noinclude>}}} + {{{rent|-{{rent bill}}}}} + {{{insurance|-{{insurance bill}}}}} + {{{cable|-{{cable bill}}}}} + {{{utilities|<includeonly>0</includeonly><noinclude>-130</noinclude>}}} + {{{paypal_fees|<includeonly>0</includeonly><noinclude>-50</noinclude>}}} + {{{other1|0}}} + {{{other2|0}}} + {{{other3|0}}} + {{{other4|0}}} + {{{other5|0}}} + {{{other6|0}}} + {{{other7|0}}} + {{{other8|0}}} + {{{other9|0}}} + {{{other10|0}}} }} | 2 }} | ||
|} | |} |
Revision as of 01:12, 28 December 2012
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here. |
| ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
|
[create] Template documentation
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |