Help:Property constraints portal/Allowed entity types/de
Jump to navigation
Jump to search
Dies ist die Dokumentationsseite für einen bestimmten Einschränkungstyp. Siehe Hilfe:Eigenschafts-Einschränkungen für einen generellen Überblick über Eigenschafts-Einschränkungen. |
allowed-entity-types constraint (Q52004125) specifies that a property may only be used on a certain entity type.
For example, Wikidata property example (P1855) should only be used on properties—not on items—so P1855 has the following statement:
property constraint (P2302) |
| ||||||||||||
add value |
The qualifier constraint scope (P4680) can be used to restrict the constraint to only apply when a property is used as a main value, as a qualifier, or as a references.
Wenn constraint scope (P4680) nicht angegeben ist, wird diese Abhängigkeit andernorts überprüft.
Possible actions
There are several possible ways to address a violation of this constraint:
- It’s possible that the property is not the correct one to use for the statement, and a similar but different property should be used instead.
- It’s possible that the statement should not exist at all, and should be removed.
- It’s possible that the statement is a rare, but legitimate exception to the constraint, and nothing should be done.
Parameters
This constraint has one mandatory parameter:
- item of property constraint (P2305)
- Contains the allowed entity type(s), a subset of Wikibase item (Q29934200), Wikibase property (Q29934218), Wikibase lexeme (Q51885771), Wikibase form (Q54285143), Wikibase sense (Q54285715), Wikibase MediaInfo (Q59712033).