Template:Max

From Thorium Mod Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:Max/doc. (edit | history)

Returns the greatest of any number of input numbers. Invalid inputs (e.g. strings) and empty inputs are ignored.

Usage

{{ max | <number 1> | <number 2> | ... | <number n> }}

Examples

Code Result
{{max|1|3|2}} 3
{{max|-74364||0|-5}} 0
{{max|1|1}} 1
{{max|10|fifty|20}} 20
{{max}}

See also