Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Convert/documentation/conversion data
(section)
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Input multiples == The following tables define composite input units consisting of multiple unit codes. A composite must consist of two unit codes where the second is a subdivision of the first. In addition, a default output must be specified. Optionally, an alternate unit code or name can be specified. An alternate unit must have the same scale as that of the subdivision, but may have a different name or symbol. If both an alternate unit and name are provided, the unit will be used when the input consists of only two components, and the alternate name will be used with three or more (generally, the alternate name would be shorter than the unit's standard name or symbol, and that may be desirable when three or more units make up an input composite). If an alternate name is used, it replaces the unit's symbol and name and plural name. In other words, the same alternate name applies regardless of whether the unit is abbreviated, and regardless of the number of units. If the unit <code>yd</code> allows <code>ft</code> as a subdivision, and <code>ft</code> allows <code>in</code>, then the input to a conversion can use all three units (for example, <code>{{convert|1|yd|2|ft|3|in}}</code> which specifies the input as 1 yard, 2 feet, 3 inches). There is no limit to the number of units that can be used in an input multiple. To simplify processing by the script which extracts data from this wikitext, a unit code is required in the first column; that unit code is not used. This section is read after all units and combinations are defined, so the unit codes may refer to items defined anywhere on this page. === Area === {| class="wikitable" style="text-align: center;" !Composite code !!Unit code !!Unit code !!Default !!Alternate !!Name |- | _acre_rood || acre || rood || ha || || |- | _acre_sqperch || acre || sqperch || ha || || |- | _rood_sqperch || rood || sqperch || m2 || || |} === Length === {| class="wikitable" style="text-align: center;" !Composite code !!Unit code !!Unit code !!Default !!Alternate !!Name |- | _ch_ft || ch || ft || m || || |- | _ch_yd || ch || yd || m || || |- | _chain_ft || chain || ft || m || || |- | _chain_yd || chain || yd || m || || |- | _foot_in || foot || in || m || || |- | _ft_in || ft || in || m || || |- | _mi_ch || mi || ch || km || || |- | _mi_chlk || mi || chlk || km || || |- | _mi_chain || mi || chain || km || || |- | _mi_chainlk || mi || chainlk || km || || |- | _mi_ft || mi || ft || km || || |- | _mi_furlong || mi || furlong || km || || |- | _mi_yd || mi || yd || km || || |- | _smi_chain || smi || chain || km || || |- | _yd_ft || yd || ft || m || || |} === Mass === {| class="wikitable" style="text-align: center;" !Composite code !!Unit code !!Unit code !!Default !!Alternate !!Name |- | _lb_oz || lb || oz || kg || || |- | _Lcwt_qtr || Lcwt || qtr || kg || || |- | _Lcwt_st || Lcwt || st || kg || || |- | _long_cwt_qtr || long cwt || qtr || kg || || |- | _LT_Lcwt || LT || Lcwt || t || -Lcwt || |- | _lt_Lcwt || lt || Lcwt || t || -Lcwt || |- | _qtr_lb || qtr || lb || kg || || |- | _st_lb || st || lb || kg lb || || |- | _ST_Scwt || ST || Scwt || t || -Scwt || |}
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)