Template:Max/12/doc
< Template:Max | 12
Jump to navigation
Jump to search
Revision as of 06:49, 14 October 2011 by imported>Jimp
| This is a documentation subpage for Template:Max/12. It contains usage information, categories and other content that is not part of the original template page. |
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.