Difference between revisions of "Template:Expenses"
From Jackpoint
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
! Expense !! Amount | ! Expense !! Amount | ||
− | {{#if: {{{1|}}} | | + | {{#if: {{{1|}}} | |
− | + | <tr> | |
− | {{!}} {{#explode:{{{ 1}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 1}}}|,|1}} }} {{#if: {{{ 2|}}} | | + | {{!}} {{#explode:{{{ 1}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 1}}}|,|1}} }} {{#if: {{{ 2|}}} | |
− | + | <tr> | |
− | {{!}} {{#explode:{{{ 2}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 2}}}|,|1}} }} {{#if: {{{ 3|}}} | | + | {{!}} {{#explode:{{{ 2}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 2}}}|,|1}} }} {{#if: {{{ 3|}}} | |
− | + | <tr> | |
− | {{!}} {{#explode:{{{ 3}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 3}}}|,|1}} }} {{#if: {{{ 4|}}} | | + | {{!}} {{#explode:{{{ 3}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 3}}}|,|1}} }} {{#if: {{{ 4|}}} | |
− | + | <tr> | |
− | {{!}} {{#explode:{{{ 4}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 4}}}|,|1}} }} {{#if: {{{ 5|}}} | | + | {{!}} {{#explode:{{{ 4}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 4}}}|,|1}} }} {{#if: {{{ 5|}}} | |
− | + | <tr> | |
− | {{!}} {{#explode:{{{ 5}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 5}}}|,|1}} }} {{#if: {{{ 6|}}} | | + | {{!}} {{#explode:{{{ 5}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 5}}}|,|1}} }} {{#if: {{{ 6|}}} | |
− | + | <tr> | |
{{!}} {{#explode:{{{ 6}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 6}}}|,|1}} }} {{#if: {{{ 7|}}} | | {{!}} {{#explode:{{{ 6}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 6}}}|,|1}} }} {{#if: {{{ 7|}}} | | ||
− | + | <tr> | |
{{!}} {{#explode:{{{ 7}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 7}}}|,|1}} }} {{#if: {{{ 8|}}} | | {{!}} {{#explode:{{{ 7}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 7}}}|,|1}} }} {{#if: {{{ 8|}}} | | ||
− | + | <tr> | |
{{!}} {{#explode:{{{ 8}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 8}}}|,|1}} }} {{#if: {{{ 9|}}} | | {{!}} {{#explode:{{{ 8}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 8}}}|,|1}} }} {{#if: {{{ 9|}}} | | ||
− | + | <tr> | |
{{!}} {{#explode:{{{ 9}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 9}}}|,|1}} }} {{#if: {{{10|}}} | | {{!}} {{#explode:{{{ 9}}}|,|0}} {{!}}{{!}} {{#explode:{{{ 9}}}|,|1}} }} {{#if: {{{10|}}} | | ||
− | + | <tr> | |
{{!}} {{#explode:{{{10}}}|,|0}} {{!}}{{!}} {{#explode:{{{10}}}|,|1}} }} | {{!}} {{#explode:{{{10}}}|,|0}} {{!}}{{!}} {{#explode:{{{10}}}|,|1}} }} | ||
|- | |- | ||
! Subtotal | ! Subtotal | ||
− | | {{ | + | | {{Expenses/sum |
+ | | {{{ 1|}}} | ||
+ | | {{{ 2|}}} | ||
+ | | {{{ 3|}}} | ||
+ | | {{{ 4|}}} | ||
+ | | {{{ 5|}}} | ||
+ | | {{{ 6|}}} | ||
+ | | {{{ 7|}}} | ||
+ | | {{{ 8|}}} | ||
+ | | {{{ 9|}}} | ||
+ | | {{{10|}}} | ||
+ | }} | ||
|- | |- | ||
| Number of runners || {{{number_of_runners|4}}} | | Number of runners || {{{number_of_runners|4}}} | ||
|- | |- | ||
! Expense per runner | ! Expense per runner | ||
− | | {{#expr: | + | | {{#expr: {{Expenses/sum |
+ | | {{{ 1|}}} | ||
+ | | {{{ 2|}}} | ||
+ | | {{{ 3|}}} | ||
+ | | {{{ 4|}}} | ||
+ | | {{{ 5|}}} | ||
+ | | {{{ 6|}}} | ||
+ | | {{{ 7|}}} | ||
+ | | {{{ 8|}}} | ||
+ | | {{{ 9|}}} | ||
+ | | {{{10|}}} | ||
+ | }} / {{{number_of_runners|4}}} }} | ||
|} | |} |
Latest revision as of 13:02, 25 February 2021
Expense | Amount |
---|---|
Subtotal | 0 |
Number of runners | 4 |
Expense per runner | 0 |