Template Variables: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Andrian (Diskussion | Beiträge)
Andrian (Diskussion | Beiträge)
Zeile 636: Zeile 636:
[PAYPALBUTTON:200] - Creates a Paypal payment link for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount / Fügt einen Paypal Link über einen fixen Betrag ein. Wird Null eingegeben zeigt Paypal ein Feld ein, in dem ein Betrag eingegeben werden kann.  
[PAYPALBUTTON:200] - Creates a Paypal payment link for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount / Fügt einen Paypal Link über einen fixen Betrag ein. Wird Null eingegeben zeigt Paypal ein Feld ein, in dem ein Betrag eingegeben werden kann.  


== Mathematische Variablen ==
== Mathematische Operatoren ==
Setzen Sie eine mathematische Template Variable zwischen zwei numerische Template Variablen.  
Operatoren können zwischen zwei Zahlen oder auch <b> zwischen zwei Template-Variablen</b>, die eine Zahl zurückgeben, eingesetzt werden.


[+] - will add the two numbers either side of the template variable / addiert die beiden Zahlen links und rechts von [+]
[+] - Beispiel: 2 [+] 3 = 5


[-] - will subtract the number right of the template variable from the number left  / subtrahiert die beiden Zahlen links und rechts von [-]
[-] - Beispiel: 5 [-] 1 = 4


[*] - will multiply the two numbers either side of the template variable  / multipliziert die beiden Zahlen links und rechts von [*]
[*] - Beispiel: 3 [*] 4 = 12


[/] - will divide the number left of the template variable by the number right  / dividiert die beiden Zahlen links und rechts von [/]
[/] - Beispiel: 15 [/] 5 = 3


[MIN] - will show the lowest of the numbers left and right  of the template variable
[MIN] - Beispiel: 2 [MIN] 3 = 2


[MAX] - will show the highest of the numbers left and right  of the template variable
[MAX] - Beispiel: 2 [MAX] 3 = 3


[*.0] - will multiply the two numbers either side of the template variable and round to the nearest integer
=== Runden und Nachkommastellen ===


[*.1] - will multiply the two numbers either side of the template variable and round to 1 decimal place
==== Voreinstellung ====


[*.2] - will multiply the two numbers either side of the template variable and round to 2 decimal places
2 [/] 3 = 0.66666666666667


[*.3] - will multiply the two numbers either side of the template variable and round to 3 decimal places
==== Runden auf die nächste Ganzzahl ====


[*.4] - will multiply the two numbers either side of the template variable and round to 4 decimal places
2 [/.0] 3 = 1


==== Runden auf 1,2,3 oder 4 Nachkommastellen ====


[/.0] - will divide the number left of the template variable by the number right and round to the nearest integer
2 [/.1] 3 = 0.7


[/.1] - will divide the number left of the template variable by the number right and round to 1 decimal place
2 [/.2] 3 = 0.67


[/.2] - will divide the number left of the template variable by the number right and round to 2 decimal places
2 [/.3] 3 = 0.667


[/.3] - will divide the number left of the template variable by the number right and round to 3 decimal places
2 [/.4] 3 = 0.6667


[/.4] - will divide the number left of the template variable by the number right and round to 4 decimal places


<b>Das funktioniert bei allen Operatoren, auch bei [MIN] and [MAX]</b>


[+.0] - will add the two numbers either side of the template variable and round to the nearest integer
  Hinweis: Die mathematischen Operatoren funktionieren nur bei Zahlen mit einem Dezimalpunkt (NICHT mit Dezimalkomma) und OHNE Tausendertrennzeichen und OHNE Währungssymbol.
 
[+.1] - will add the two numbers either side of the template variable and round to 1 decimal place
 
[+.2] - will add the two numbers either side of the template variable and round to 2 decimal places
 
[+.3] - will add the two numbers either side of the template variable and round to 3 decimal places
 
[+.4] - will add the two numbers either side of the template variable and round to 4 decimal places
 
 
[-.0] - will subtract the number right of the template variable from the number left and round to the nearest integer
 
[-.1] - will subtract the number right of the template variable from the number left and round to 1 decimal place
 
[-.2] - will subtract the number right of the template variable from the number left and round to 2 decimal places
 
[-.3] - will subtract the number right of the template variable from the number left and round to 3 decimal places
 
[-.4] - will subtract the number right of the template variable from the number left and round to 4 decimal places
 
 
[MIN.0] - will show the lowest of the numbers left and right of the template variable and round to the nearest integer
 
[MIN.1] - will show the lowest of the numbers left and right  of the template variable and round to 1 decimal place
 
[MIN.2] - will show the lowest of the numbers left and right  of the template variable and round to 2 decimal places
 
[MIN.3] - will show the lowest of the numbers left and right  of the template variable and round to 3 decimal places
 
[MIN.4] - will show the lowest of the numbers left and right  of the template variable and round to 4 decimal places
 
 
[MAX.0] - will show the highest of the numbers left and right  of the template variable and round to the nearest integer
 
[MAX.1] - will show the highest of the numbers left and right  of the template variable and round to 1 decimal place
 
[MAX.2] - will show the highest of the numbers left and right  of the template variable and round to 2 decimal places
 
[MAX.3] - will show the highest of the numbers left and right  of the template variable and round to 3 decimal places
 
[MAX.4] - will show the highest of the numbers left and right  of the template variable and round to 4 decimal places
 
 
  Hinweis: Die mathematischen Variablen funktionieren nur mit Zahlen  ohne Tausendertrennpunkt in englischem Datenformat.


== Währungen umrechnen ==
== Währungen umrechnen ==