Open main menu

Template:Constraint:Units

Units: {{{list}}}: value unit must be one of listed
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/Constraint:Units#Units
Documentation icon Template documentation[view] [edit] [history] [purge]

The list of units allowed for this property values.

This template categorizes talk pages into Category:Properties with units constraints.

UsageEdit

{{Constraint:Units|list=}}

Units must be listed as comma-separated item links. Special value novalue must be used for dimensionless quantities.

SamplesEdit

{{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 alsoEdit