Template:Ifbetween/doc

From MidsouthMakers - Memphis Area Hackerpace
Revision as of 17:53, 18 January 2010 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template evaluates its first numeric parameter to see if it is in the closed range defined by its second and third numeric parameters. If the first parameter is in the range, the value of the fourth parameter is returned; if the first parameter is out of range, the fifth parameter is returned. If either the parameter to be returned is not given a value, an empty string is returned.

Syntax:
{{ifbetween/doc|value|start|end|then|else}}