Template:Max

From NationStates Sports Wiki
Revision as of 15:11, 24 April 2006 by >Verdy p
Jump to navigation Jump to search

Evaluates and returns the maximum of a list of numeric expressions (with up to 16 parameters).

Syntax:
Examples:
{{max}} = "{{#if:|Expression error: Unrecognised punctuation character "{".".
{{max|}} = "{{#if:|".
{{max|-7}} = "{{#if:-7|-7".
{{max|-7|}} = "{{#if:-7|-7".
{{max|-7|5}} = "{{#if:-7|5".
{{max|-7|5|}} = "{{#if:-7|5".
{{max|-7|5|8}} = "{{#if:-7|Expression error: Unexpected < operator.".
{{max|-7|5|8|-32|29|14|1}} = "{{#if:-7|Expression error: Unexpected < operator.".
{{max|100+10|300+30|200+20}} = "{{#if:100+10|Expression error: Unexpected < operator.".