Template:Constraint:One of
![]() |
One of {{{values}}}: value must be one of the specified items. Please expand list if needed. Exceptions are possible as rare values may exist. List of this constraint violations: Database reports/Constraint violations/Constraint:One of#One of, values statistics |
![]() | This template is obsolete. Please use property constraint (P2302) with value one-of constraint instead. For further information, see Help:Property constraints portal. |

The list of values can be expanded with items that appear on the report.
This template categorizes talk pages into Category:Properties with one-of constraints.
UsageEdit
{{Constraint:One of|values=}}
Values can be listed using next forms: Q123, [[Q123]] or {{Q|123}}
SamplesEdit
{{Constraint:One of|values={{Q|1}}, {{Q|2}}}}
See alsoEdit
- Template:Constraint
- Template:Constraint:One of/text — translatable texts for this template
The above documentation is transcluded from Template:Constraint:One of/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. |