Template:Constraint:Conflicts with

From Wikidata
Jump to navigation Jump to search
Conflicts with “{{{list}}}”: this property must not be used with the listed properties and values.
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:Conflicts with#Conflicts with
Documentation icon Template documentation[view · edit · history · purge ]

This template categorizes into Category:Properties with conflicts with constraints.

Usage[edit]

{{Constraint:Conflicts with | list = }}

Argument "list" provides a set of properties that are mutually exclusive with this one. Multiple conflicting properties are to be separated by ";". To exclude only specific values of specific properties, add a colon ":" after that property followed by a comma-separated list of values to forbid.
|group property= can be used to group the output.

Samples[edit]

  • {{Constraint:Conflicts with | list = {{P|625}} }}
  • {{Constraint:Conflicts with | list = {{P|625}}; {{P|131}} }}
  • {{Constraint:Conflicts with | list = {{P|625}}; {{P|31}}: {{Q|5}}, {{Q|7}}; {{P|131}} }}

See also[edit]