Template:Ifbetween

From FEInfobase

Revision as of 03:09, 26 March 2007 by Mike Dillon (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[edit] 50px Template documentation

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|value|start|end|then|else}}
Personal tools