Template:Constraint:Value type

From Wikidata
Jump to navigation Jump to search
Value type "": This property should use items as value that contain property Parameter "relation" (empty) is not valid. On these, the value for Parameter "relation" (empty) is not valid should be an item that uses subclass of (P279) with value (or a subclass thereof).
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:Value type#Value type
Documentation icon Template documentation[view · edit · history · purge ]

This template categorizes into Category:Properties with constraints on type.

Usage[edit]

{{Constraint:Value type|class=Q88|relation=instance}}

Value must be class (not instance):

{{Constraint:Value type|class=Q99|relation=subclass}}

Multiple classes:

{{Constraint:Value type|classes=Q5, Q43229|relation=instance}}

See also[edit]