Pang-tsān:Bu̍t-gia̍p hiàn-tsè mn̂g-hōo/Tan-uī

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Help:Property constraints portal/Units and the translation is 67% complete.

allowed units constraint (Q21514353) tsí-tīng kan-na ū tsi̍t-tsoo ti̍k-tīng ê tan-uī ē-sái kah sòo-liōng sòo-kì luī-hîng ê gí-kù tâng-tsê sú-iōng.

Pí-jū, tuì UTC timezone offset (P2907) ū-hāu ê uî-it tan-uī sī hour (Q25235).

Siat-sú bô tsí-tīng constraint scope (P4680), án-ne sì-kè kiám-tsa tsit-ê iok-sok.

Khó-lîng ê hîng-tōng

Ū kuí-á-tsióng khó-lîng ê hong-huat lâi kai-kuat uî-huán tsit-ê iok-sok ê būn-tê:

  • It’s possible that the unit is not the correct one to use for the quantity, and a similar but different unit should be used instead. Check the list of permitted units for an applicable unit to use.
  • It’s possible that the unit should not be specified at all (a dimensionless quantity), and that the unit should be removed.
  • It’s possible that the unit is a rare, but legitimate exception to the constraint, and nothing should be done.

Tsham-sòo

Tsit-ê iok-sok ū tsi̍t-ê kiông-tsè tsham-sòo:

item of property constraint (P2305)
Contains the permitted units. Must contain the allowed unit(s), which are either items or no value Help to allow dimensionless quantities. (unknown value Help is not permitted.)

Examples

Huān-lē 1

temperature (P2076) ê tan-uī ing-kai sī degree Celsius (Q25267), kelvin (Q11579), hi̍k degree Fahrenheit (Q42289) tsi-it.

property constraint
Normal rank allowed units constraint
item of property constraint degree Celsius
kelvin
degree Fahrenheit
0 references
add reference


add value

Huān-lē 2 - bô kè-ta̍t

Mohs scale of mineral hardness (Q41472) is number used to represent hardness of materials. For example, quartz is 7, and diamond is 10. As definition, Mohs' hardness (P1088) doesn't have unit. In such case, "no value" is used as follows. "no value" is added to statements by clicking on the icon beside the value field that looks like this .

property constraint
Normal rank allowed units constraint
item of property constraint no value
0 references
add reference


add value

Pang-bôo

When the constraint is set to the property, the following template is automatically displayed in the property talk page. The template is created by Module:Constraints using Template:Constraint, invoked from Template:Property documentation. Translations are defined at Module:i18n/constraints.

Units: “degree Celsius (Q25267), kelvin (Q11579), degree Fahrenheit (Q42289): value unit must be one of listed. (Help)
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/P2076#Units

Tshing-tuann

Siat-tī ún-tsún tan-uī iok-sok ê sio̍k-sìng tshing-tuann.