Template:Constraint:Units
Units: {{{list}}}: value unit must be one of listed
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:Units#Units
This template is obsolete. Please use property constraint (P2302) instead. For further information, see Help:Property constraints portal. |
The list of units allowed for this property values.
This template categorizes talk pages into Category:Properties with units constraints.
Usage
edit{{Constraint:Units|list=}}
Units must be listed as comma-separated item links. Special value novalue must be used for dimensionless quantities.
Samples
edit{{Constraint:Units|list= {{Q|844211}} }}
- mean this property unit should be kilogram per cubic metre (Q844211).
{{Constraint:Units|list= novalue }}
- mean this property should not have unit.
See also
editThe above documentation is transcluded from Template:Constraint:Units/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. |