Jump to content

ଛାଞ୍ଚ:Max/729/doc

ଉଇକିପିଡ଼ିଆ‌ରୁ


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

Syntax:
{{Max/729|[value1]|[value2]|etc.}}
Examples
{{Max/729}} = "".
{{Max/729|}} = "".
{{Max/729|7}} = "7".
{{Max/729|7|}} = "7".
{{Max/729|-5|7}} = "7".
{{Max/729|-5||||7}} = "7".
{{Max/729|-5|-3|-1|1|7|9|11|13|15|17|19|21|23|22|20|18|16|14|12|10|8|6|4|2|0|3|5|-6|-8|-10|-11|-9|-7}} = "23".
{{Max/729|-5|-3|-1|1|7|9|11|13|15|17|19|21||22|20|18|16|14|12|10|8|6|4|2|0|3|5|-6|-8|-10|-11|-9|-7}} = "22".
{{Max/729|23|728 other numbers below 23|30}} = "23".
{{Max/729|40*41}} = "1640".
{{Max/729|1300+30|40*41}} = "1640".
{{Max/729|1300+30||||40*41}} = "1640".
{{Max/729|1300+30|987+654|1234/2|1200-60|40*41}} = "1641".
  • Template:Max - for the base template that this template uses, can only take three parameters, and no spaces.
  • Template:Max/27 - for the base template that this template uses, can only take up to 27 parameters.
  • Template:Min/729 - for a minimum value, used the same way.