Template:Constraint:Range

Range from “{{{min}}}” to “{{{max}}}”: values should be in the range from “{{{min}}}” to “{{{max}}}”.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/Constraint:Range#Range
Documentation icon Template documentation[view · edit · history · purge ]

This constraint indicates that a property is in certain range.

At the moment, it only works for properties like "Point in time" and "Quantity".

This template categorizes into Category:Properties with range constraints.

UsageEdit

{{Constraint:Range|min=|max=}}

For min and max, the following formats can be used:

  • 1945
  • 1945-05
  • 1945-05-09
  • now

The latter value represents the current date.

ExamplesEdit

  • {{Constraint:Range|min=1957-10-04|max=now}}
  • {{Constraint:Range|min=1900|max=2000}}

See alsoEdit