Template:Ifbetween/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Ifbetween (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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}}