Template:Min/12/doc
Appearance
< Template:Min | 12
This is a documentation subpage for Template:Min/12. It may contain usage information, categories and other content that is not part of the original template page. |
Evaluates and returns the minimum 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:
{{min/12|[value1]|[value2]|etc.}}
- Examples
- {{min/12}} = "".
- {{min/12|}} = "".
- {{min/12|7}} = "7".
- {{min/12|7|}} = "7".
- {{min/12|-5|7}} = "-5".
- {{min/12|-5||||7}} = "-5".
See also
[edit source]- {{min}} takes up to three optional parameters (ignors empty and non-numeric parameters)
- {{min/2}} takes exactly two numeric parameters
- {{min/3}} takes exactly three numeric parameters
- {{min/4}} takes up to four optional parameters (ignors empty and non-numeric parameters)
- {{max/12}} - for a maximum value, used the same way.