Page semi-protected

Template:Constraint

From Wikidata
Jump to: navigation, search
{{{name}}}: {{{description}}}
Exceptions are possible as rare values may exist.
List of this constraint violations:
Documentation icon Template documentation[view] [edit] [history] [purge][Translate ⧼Templates⧽]


This template is the base for the following sub-templates:

This template and the above subtemplates categorize into Category:Properties with constraints and its subcategories.

This group of templates helps to detect items where a property has been assigned an invalid value. To take advantage of this opportunity put the templates on the discussion page of the respective property. After a while a bot will generate a list of violations.

Some constraints are type-specific. Next table can help to choose right constraints for the property.

type specific constraints common for all types
Item Contemporary
Inverse
One of
Symmetric
Target required claim
Value type
Item
Type

Single value
Multi value

Conflicts with
Qualifiers

Value_only
Source
Qualifier

Commons media file Commons link
Unique value
Format
String Format
Unique value
Commons link
Point in time Range
Diff within range
Unique value
Geographic coordinates Unique value
URL Format
Unique value
Quantity Units
Range
Diff within range
One of
Property One of
Symmetric
Inverse
Target required claim
Value type
External identifier Format
Unique value
Tabular data Commons link
Unique value
Format
Geographic shape Commons link
Unique value
Format

Parameters

Common parameters:

Samples

  • {{Constraint:Unique value|exceptions= {{Q|13261}}, {{Q|208008}} |mandatory=true}}
  • {{Constraint:Unique value|group property=P17}}

Update frequency

Lists are updated by KrBot once a day. Incremental dumps are used (status of today's dump).

Reports

Template translations

Module:i18n/constraints