Template:Constraint:Diff within range

From Wikidata
Jump to navigation Jump to search
Difference with “date of birth (P569)” within range [−∞, +∞]: the difference with property “date of birth (P569)” should be in the range from “−∞” to “+∞”.
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/Constraint:Diff within range#Diff within range
Documentation icon Template documentation[view · edit · history · purge ]

This template marks properties which values ​​should be different from the value of some other property for not more than a predetermined amount. This template can be applied to properties of type "Point in time" and "Quantity".

Properties marked with this template can be found in Category:Properties with difference within range constraints.

Usage

[edit]

{{Constraint:Diff within range|base_property=Pxxx|min=|max=}}

Parameter "base_property" is mandatory, "min" and "max" are optional. For properties of type "Point in time", options "min" and "max" represent the time in years.

Examples

[edit]

See also

[edit]