Difference between revisions of "Template:Ifbetween"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 17:53, 18 January 2010

[edit] [purge] 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}}