Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 5: Regel 5:
{{Project
{{Project
|Num1=
|Num1=
|Num2=
|Num2a=
|Num2b=
|Num2c=
|Num3=
|Num3=
}}
}}
Regel 12: Regel 14:
</noinclude><includeonly>
</noinclude><includeonly>
{{#vardefine: N1|{{#if: {{{Num1|}}} | {{{Num1|}}} | 0 }} }}
{{#vardefine: N1|{{#if: {{{Num1|}}} | {{{Num1|}}} | 0 }} }}
{{#vardefine: N2|{{#if: {{{Num2|}}} | {{{Num2|}}} | 0 }} }}
{{#vardefine: N2a|{{#if: {{{Num2a|}}} | {{{Num2a|}}} | 0 }} }}
{{#vardefine: N2b|{{#if: {{{Num2b|}}} | {{{Num2b|}}} | 0 }} }}
{{#vardefine: N2c|{{#if: {{{Num2c|}}} | {{{Num2c|}}} | 0 }} }}
{{#vardefine: N3|{{#if: {{{Num3|}}} | {{{Num3|}}} | 0 }} }}
{{#vardefine: N3|{{#if: {{{Num3|}}} | {{{Num3|}}} | 0 }} }}
Resultaat = {{#expr: {{#var:N1}} + {{#var:N2}} + {{#var:N3}} }}
Resultaat = {{#expr: {{#var:N1}} + {{#var:N2}} + {{#var:N3}} }}
{{#if: {{{Num2a|}}} | Resultaat = {{#expr: {{#var:N2a}} + {{#var:N2b}} + {{#var:N2b}} }} | Geen resultaat voor N2 }}
</includeonly>
</includeonly>

Versie van 30 nov 2017 15:23

This is the "Ga Fresh calculator" template. It should be called in the following format:

{{Project
|Num1=
|Num2a=
|Num2b=
|Num2c=
|Num3=
}}

Edit the page to see the template text.