Template Variables: Difference between revisions

Jump to navigation Jump to search
Andrian (talk | contribs)
Andrian (talk | contribs)
Line 694: Line 694:
== Mathematical Operators ==
== Mathematical Operators ==


Place math variables between two numbers. Math variables can operate on template variables that return a number
Place mathematical operators between two numbers or between two template variables that return a number.


[+] - will add the two numbers either side of the template variable
[+] : 2 [+] 3 = 5


[-] - will subtract the number right of the template variable from the number left
[-] : 5 [-] 1 = 4


[*] - will multiply the two numbers either side of the template variable
[*] : 3 [*] 4 = 12


[/] - will divide the number left of the template variable by the number right
[/] : 15 [/] 5 = 3


[MIN] - will show the lowest of the numbers left and right  of the template variable
[MIN] - will show the lowest of the numbers left and right  of the template variable