Template:Min

From Darkan
Jump to navigation Jump to search

The min template is a support template that returns the minimum value of its two input parameters.

Example

An example of a template in use:

  {{ Min | 4 | 5 }}  

The example produces 4.

Other examples are: {{ Min | 4 | 1 }} 1, {{ Min | 3 | }} , {{ Min | | 2 }} .
A more complex example: {{ Min | {{Min|1|2}} | 3 }} 1.