Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 19: Regel 19:
{{#vardefine: N1c|{{#if: {{{Num1c|}}} | {{{Num1c|}}} | 1.02 }} }}
{{#vardefine: N1c|{{#if: {{{Num1c|}}} | {{{Num1c|}}} | 1.02 }} }}
{{#vardefine: N1d|{{#if: {{{Num1d|}}} | {{{Num1d|}}} | 40000 }} }}
{{#vardefine: N1d|{{#if: {{{Num1d|}}} | {{{Num1d|}}} | 40000 }} }}
{{#vardefine: N2a|{{#if: {{{Num2a|}}} | {{{Num2a|}}} | 15 }} }}
{{#vardefine: N2a|{{#if: {{{Num2a|}}} | {{{Num2a|}}} | 20 }} }}
{{#vardefine: N2b|{{#if: {{{Num2b|}}} | {{{Num2b|}}} | 12 }} }}
{{#vardefine: N2b|{{#if: {{{Num2b|}}} | {{{Num2b|}}} | 15 }} }}
{{#vardefine: N2c|{{#if: {{{Num2c|}}} | {{{Num2c|}}} | 1.02 }} }}
{{#vardefine: N2c|{{#if: {{{Num2c|}}} | {{{Num2c|}}} | 1.02 }} }}
{{#vardefine: N2d|{{#if: {{{Num2d|}}} | {{{Num2d|}}} | 40000 }} }}
{{#vardefine: N2d|{{#if: {{{Num2d|}}} | {{{Num2d|}}} | 10000 }} }}
{{#vardefine: N3|{{#if: {{{Num3|}}} | {{{Num3|}}} | 0 }} }}
{{#vardefine: N3a|{{#if: {{{Num3a|}}} | {{{Num3a|}}} | 15 }} }}
Resultaat = {{#expr: {{#var:N1}} + {{#var:N2}} + {{#var:N3}} }}
{{#vardefine: N3b|{{#if: {{{Num3b|}}} | {{{Num3b|}}} | 1.6 }} }}
{{#vardefine: N3c|{{#if: {{{Num23c|}}} | {{{Num23c|}}} | 1.02 }} }}
 
{{#if: {{{Num1a|}}} | Resultaat = {{#expr: {{#var:N2a}} + {{#var:N2b}} + {{#var:N2b}} }} | Geen resultaat voor N2 }}  
{{#if: {{{Num2a|}}} | Resultaat = {{#expr: {{#var:N2a}} + {{#var:N2b}} + {{#var:N2b}} }} | Geen resultaat voor N2 }}  
{{#if: {{{Num2a|}}} | Resultaat = {{#expr: {{#var:N2a}} + {{#var:N2b}} + {{#var:N2b}} }} | Geen resultaat voor N2 }}  
{{#if: {{{Num3a|}}} | Resultaat = {{#expr: {{#var:N2a}} + {{#var:N2b}} + {{#var:N2b}} }} | Geen resultaat voor N2 }}
</includeonly>
</includeonly>

Versie van 30 nov 2017 15:48

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

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

Edit the page to see the template text.