Template:Max/12/doc

From blackwiki
< Template:Max‎ | 12
Revision as of 06:49, 14 October 2011 by imported>Jimp
Jump to navigation Jump to search


Evaluates and returns the maximum of a list of up to twelve numeric values. The parameters can be numeric expressions that will be evaluated. Empty, missing, or skipped parameters are ignored.

Syntax:
{{Max/12|[value1]|[value2]|etc.}}
Examples
{{Max/12}} = "".
{{Max/12|}} = "".
{{Max/12|7}} = "7".
{{Max/12|7|}} = "7".
{{Max/12|-5|7}} = "7".
{{Max/12|-5||||7}} = "7".

See also

  • Template:Max - for the base template that this template uses, can only take three parameters, and no spaces.
  • Template:Max/3 and Template:Max/4 - for the base templates that this template uses, can only take up to 3 & 4 parameters.
  • Template:Min/12 - for a minimum value, used the same way.