Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 6: Regel 6:
|Num1=
|Num1=
|Num2=
|Num2=
|Num3=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#vardefine: N1|{{{Num1|}}}}}
{{#vardefine: N1|{{#if: {{{Num1|}}} | {{{Num1|}}} | 0 }} }}
{{#vardefine: N2|{{{Num2|}}}}}
{{#vardefine: N2|{{#if: {{{Num2|}}} | {{{Num2|}}} | 0 }} }}
{{#var:N1}} + {{#var:N2}} = {{#expr: {{#var:N1}} + {{#var:N2}} }}
{{#vardefine: N3|{{#if: {{{Num3|}}} | {{{Num3|}}} | 0 }} }}
Resultaat = {{#expr: {{#var:N1}} + {{#var:N2}} + {{#var:N3}} }}
</includeonly>
</includeonly>

Versie van 10 nov 2017 13:45

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

{{Project
|Num1=
|Num2=
|Num3=
}}

Edit the page to see the template text.