Difference between revisions of "Type:Measurement"
Warning: Parameter 1 to MapsHooks::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to ExtArrays::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
Warning: Parameter 1 to Cite::clearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201
From Aktanak
Line 4: | Line 4: | ||
this page specifies several [[Help:Custom units|custom unit]] for this datatype: | this page specifies several [[Help:Custom units|custom unit]] for this datatype: | ||
− | * [[corresponds to::1 cm, centimetre]] | + | <nowiki>* [[corresponds to::1 cm, centimetre]] |
* [[corresponds to::10 mm, millilitre]] | * [[corresponds to::10 mm, millilitre]] | ||
* [[corresponds to::0.393700787401575 in, ", inch]] | * [[corresponds to::0.393700787401575 in, ", inch]] | ||
* [[corresponds to::0.032808399 ft, ', foot]] | * [[corresponds to::0.032808399 ft, ', foot]] | ||
− | * [[corresponds to::0.01 m, metre]] | + | * [[corresponds to::0.01 m, metre]]</nowiki> |
+ | |||
+ | * [[corresponds to::0.1 cm, centimetre]] | ||
+ | * [[corresponds to::1 mm, millilitre]] | ||
+ | * [[corresponds to::0.0393700787401575 in, ", inch]] | ||
+ | * [[corresponds to::0.0032808399 ft, ', foot]] | ||
+ | * [[corresponds to::0.001 m, metre]] | ||
Editors can add more units and alternative representations. To allow users to enter units in several forms, you add alternate representations separated by commas; for example this datatype supports "squared" using <tt><nowiki><sup>2</sup></nowiki></tt> or a Unicode character. | Editors can add more units and alternative representations. To allow users to enter units in several forms, you add alternate representations separated by commas; for example this datatype supports "squared" using <tt><nowiki><sup>2</sup></nowiki></tt> or a Unicode character. |
Latest revision as of 16:23, 23 September 2010
Type:Measurement takes numerical values and units for denoting linear measurements.
To allow users to enter values in different units of measurement, this page specifies several custom unit for this datatype:
* [[corresponds to::1 cm, centimetre]] * [[corresponds to::10 mm, millilitre]] * [[corresponds to::0.393700787401575 in, ", inch]] * [[corresponds to::0.032808399 ft, ', foot]] * [[corresponds to::0.01 m, metre]]
- 0.1 cm, centimetre
- 1 mm, millilitre
- 0.0393700787401575 in, ", inch
- 0.0032808399 ft, ', foot
- 0.001 m, metre
Editors can add more units and alternative representations. To allow users to enter units in several forms, you add alternate representations separated by commas; for example this datatype supports "squared" using <sup>2</sup> or a Unicode character.
The main unit is the first unit with 1:1 correspondence; for this datatype it is m². In the factbox and inline queries, values display converted into this unit first (unless a property specifies different display units).
Corresponds to This property is a special property in this wiki. | 0.1 cm, centimetre +, 1 mm, millilitre +, 0.0393700787401575 in, ", inch +, 0.0032808399 ft, ', foot +, 0.001 m, metre +, 1 cm, centimetre +, 10 mm, millilitre +, 0.393700787401575 in, ", inch +, 0.032808399 ft, ', foot + and 0.01 m, metre + |