Template:Pledge: Difference between revisions

From London Hackspace Wiki

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
! Name !! Pledged
! Name !! Pledged
{{#if: {{{name1|}}}| {{!}}-
{{#if: {{{name1|}}}| {{!}}-
{{!}} {{{name1}}}{{!}}{{!}} {{{pledge1|}}}|}}
{{!}} {{{name1}}}{{!}}{{!}} £{{{pledge1|}}}|}}
{{#if: {{{name2|}}}| {{!}}-
{{!}} {{{name2}}}{{!}}{{!}} £{{{pledge2|}}}|}}
{{#if: {{{name3|}}}| {{!}}-
{{!}} {{{name3}}}{{!}}{{!}} £{{{pledge3|}}}|}}
{{#if: {{{name4|}}}| {{!}}-
{{!}} {{{name4}}}{{!}}{{!}} £{{{pledge4|}}}|}}
{{#if: {{{name5|}}}| {{!}}-
{{!}} {{{name5}}}{{!}}{{!}} £{{{pledge5|}}}|}}
{{#if: {{{name6|}}}| {{!}}-
{{!}} {{{name6}}}{{!}}{{!}} £{{{pledge6|}}}|}}
{{#if: {{{name7|}}}| {{!}}-
{{!}} {{{name7}}}{{!}}{{!}} £{{{pledge7|}}}|}}
{{#if: {{{name1|}}}| {{!}}-
{{!}} {{{name8}}}{{!}}{{!}} £{{{pledge8|}}}|}}
{{#if: {{{name8|}}}| {{!}}-
{{!}} {{{name9}}}{{!}}{{!}} £{{{pledge9|}}}|}}
{{#if: {{{name9|}}}| {{!}}-
{{!}} {{{name9}}}{{!}}{{!}} £{{{pledge9|}}}|}}
{{#if: {{{name10|}}}| {{!}}-
{{!}} {{{name10}}}{{!}}{{!}} £{{{pledge10|}}}|}}
{{#if: {{{name11|}}}| {{!}}-
{{!}} {{{name11}}}{{!}}{{!}} £{{{pledge11|}}}|}}
{{#if: {{{name12|}}}| {{!}}-
{{!}} {{{name12}}}{{!}}{{!}} £{{{pledge12|}}}|}}
{{#if: {{{name13|}}}| {{!}}-
{{!}} {{{name13}}}{{!}}{{!}} £{{{pledge13|}}}|}}
{{#if: {{{name14|}}}| {{!}}-
{{!}} {{{name14}}}{{!}}{{!}} £{{{pledge14|}}}|}}
{{#if: {{{name15|}}}| {{!}}-
{{!}} {{{name15}}}{{!}}{{!}} £{{{pledge15|}}}|}}
{{#if: {{{name16|}}}| {{!}}-
{{!}} {{{name16}}}{{!}}{{!}} £{{{pledge16|}}}|}}
{{#if: {{{name17|}}}| {{!}}-
{{!}} {{{name17}}}{{!}}{{!}} £{{{pledge17|}}}|}}
{{#if: {{{name18|}}}| {{!}}-
{{!}} {{{name18}}}{{!}}{{!}} £{{{pledge18|}}}|}}
{{#if: {{{name19|}}}| {{!}}-
{{!}} {{{name19}}}{{!}}{{!}} £{{{pledge19|}}}|}}
{{#if: {{{name20|}}}| {{!}}-
{{!}} {{{name20}}}{{!}}{{!}} £{{{pledge20|}}}|}}
|}
|}
Target: '''£{{{target|0}}}'''
Total: '''£{{#expr: {{{pledge1|0}}}+{{{pledge2|0}}}+{{{pledge3|0}}}+{{{pledge4|0}}}+{{{pledge5|0}}}+{{{pledge6|0}}}+{{{pledge7|0}}}+{{{pledge8|0}}}+{{{pledge9|0}}}+{{{pledge10|0}}}+{{{pledge11|0}}}+{{{pledge12|0}}}+{{{pledge13|0}}}+{{{pledge14|0}}}+{{{pledge15|0}}}+{{{pledge16|0}}}+{{{pledge17|0}}}+{{{pledge18|0}}}+{{{pledge19|0}}}+{{{pledge20|0}}} }}'''
Needed: '''£{{#expr: {{{target|0}}}-({{{pledge1|0}}}+{{{pledge2|0}}}+{{{pledge3|0}}}+{{{pledge4|0}}}+{{{pledge5|0}}}+{{{pledge6|0}}}+{{{pledge7|0}}}+{{{pledge8|0}}}+{{{pledge9|0}}}+{{{pledge10|0}}}+{{{pledge11|0}}}+{{{pledge12|0}}}+{{{pledge13|0}}}+{{{pledge14|0}}}+{{{pledge15|0}}}+{{{pledge16|0}}}+{{{pledge17|0}}}+{{{pledge18|0}}}+{{{pledge19|0}}}+{{{pledge20|0}}}) }}'''