Template:Min

From Darkan
Revision as of 03:07, 27 February 2010 by imported>Rich Farmbrough
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.