Template:Min/27

< Template:Min
Documentation icon Template documentation[view] [edit] [history] [purge]

Evaluates and returns the minimum of a list of numeric values (with up to 27 parameters). The parameters can be numeric expressions that will be evaluated. Empty, missing, or skipped parameters are ignored.

Syntax:
{{Min/27|[value1]|[value2]|[value3]|[value4]|[value5]|[value6]|[value7]|[value8]|[value9]|[value10]|[value11]|[value12]|[value13]|[value14]|[value15]|[value16]|[value17]|[value18]|[value19]|[value20]|[value21]|[value22]|[value23]|[value24]|[value25]|[value26]|[value27]}}
Examples
{{Min/27}} = "".
{{Min/27|}} = "".
{{Min/27|7}} = "7".
{{Min/27|7|}} = "7".
{{Min/27|-5|7}} = "-5".
{{Min/27|-5||||7}} = "-5".
{{Min/27|-5|-3|-1|1|7|9|11|13|15|17|16|14|12|10|8|6|4|2|0|3|5|-6|-8|-10|-11|-9|-7}} = "-11".
{{Min/27|-5|-3|-1|1|7|9|11|13|15|17|16|14|12|10|8|6|4|2|0|3|5|-6|-8|-10||-9|-7}} = "-10".
{{Min/27|-5|-3|-1|1|7|9|11|13|15|17|16|14|12|10|8|6|4|2|0|3|5|-6|-8|-10|-11|-9|-7|-20}} = "-11".
{{Min/27|40*41}} = "1640".
{{Min/27|1300+30|40*41}} = "1330".
{{Min/27|1300+30||||40*41}} = "1330".
{{Min/27|1300+30|987+654|1234/2|1200-60|40*41}} = "617".

Related pages

  • Template:Min - for the base template that this template uses, can only take three parameters, and no spaces.
  • Template:Max/27 - for a maximum value, used the same way.