Template:Constraint:Value type
![]() |
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. List of this constraint violations: Database reports/Constraint violations/Constraint:Value type#Value type |
![]() | This template is obsolete. Please use property constraint (P2302) with value value-type constraint instead. For further information, see Help:Property constraints portal. |
This template categorizes into Category:Properties with constraints on type.
UsageEdit
{{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 alsoEdit
The above documentation is transcluded from Template:Constraint:Value type/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |