Frequently asked questions
|
Template:Convert is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
|
|||
This page has archives. Sections older than 42 days may be automatically archived by Lowercase sigmabot III when more than 2 sections are present. |
Related pages |
---|
The tool reports incorrect values:
4.0 litres (140 imp fl oz; 140 US fl oz)
This should be 135 US fl oz.
A conversion from 4 should be less than 4.05:
4.05 litres (143 imp fl oz; 137 US fl oz)
I'm not sure where else to report this.
kslays (
talk •
contribs) 09:36, 7 March 2024 (UTC)
I'd like to add unitless scales (%, ppm, ppb, etc.). Mostly this would be for thermal expansion coefficients. Sometimes people write "10.5 μin/(in⋅°F)", and I'd like to be able to convert it to
The latter one is actually pretty straightforward to add, I think. But the 1st two outputs don't seem possible at the moment. From what I can tell, {{convert}}
needs an input unit and an output unit. Unit cancellation doesn't seem to be able to produce (or even consume) unitless values.
How can I specify 'ppm', 'ppb', etc., as unitless scale values (i.e., essentially equal to 10−6, 10−9, ...)? — sbb ( talk) 20:13, 24 March 2024 (UTC)
{{cvt|10.5|/F|/C||adj=pre|ppm|disp=preunit|ppm}}
→ 10.5 ppm/°F (18.9 ppm/°C){{cvt|10.5|/F|/C||adj=pre|ppm|disp=preunit|× 10<sup>−6</sup>}}
→ 10.5 ppm/°F (18.9 × 10−6/°C)Just noting that a cubic kilometre is 109 m3, and 1000 m3 would be the volume of a 10-metre cube. So km3 seems a bad abbreviation for a cubic kilometre. (km)3 would be technically correct I suppose, if ugly. A similar issue arises for square km and km2. I'll try to check recommended practice later. I've a nasty feeling that the "technically wrong" versions are accepted, but I still don't like ones which are out by a factor of a thousand or a million when taken literally. It's a matter of whether there's an explicit convention that distinguishes k(m3) from (km)3. Musiconeologist ( talk) 14:28, 29 March 2024 (UTC)
This template continues to rule. The fact that {{convert|95|liters/minute|USgal/minute|abbr=on|sp=us}} works and does everything I want it to, I'll swear, is the greatest thing ever. As a content creator, I am never not astounded by the array of parameters on this thing. It has never disappointed me yet. So to every coder who has ever laid a hand on this thing, THANK YOU. jengod ( talk) 17:14, 13 April 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
the conversions are not quite correct Haydennnn ( talk) 13:30, 16 April 2024 (UTC)
This example from Voyager 1:{{Convert|162.7|AU|e9km e9mi|sigfig=3|abbr=unit|lk=on}} renders as: 162.7 AU (24.3 billion km; 15.1 billion mi). This is pretty confusing, since the two links look like a link to billion km. I think billion should not be linked at all in this case. Nickps ( talk) 22:27, 24 April 2024 (UTC)
|lk=on
to |lk=in
, so {{Convert|162.7|AU|e9km e9mi|sigfig=3|abbr=unit|lk=in}}
gives 162.7
AU (24.3 billion km; 15.1 billion mi) .mile
to be changed to show "mile" or "miles" even when abbreviated so people could have an easy and natural way to control the output. Write mi
if "mi" is wanted for the symbol and mile
or miles
if "mile/miles" is wanted. If anyone wants to rekindle this, please start a new section.
Johnuniq (
talk) 02:00, 25 April 2024 (UTC)it remained the most common sense of the word in Britain until the 1950s and still remains in occasional use there, we probably want to keep an explanation of the term. In that case, we could use {{ tooltip}} instead as in billion, except that may not work on mobile and might seem superfluous to people who don't know the long scale. Nickps ( talk) 16:13, 26 April 2024 (UTC)
Frequently asked questions
|
Template:Convert is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
|
|||
This page has archives. Sections older than 42 days may be automatically archived by Lowercase sigmabot III when more than 2 sections are present. |
Related pages |
---|
The tool reports incorrect values:
4.0 litres (140 imp fl oz; 140 US fl oz)
This should be 135 US fl oz.
A conversion from 4 should be less than 4.05:
4.05 litres (143 imp fl oz; 137 US fl oz)
I'm not sure where else to report this.
kslays (
talk •
contribs) 09:36, 7 March 2024 (UTC)
I'd like to add unitless scales (%, ppm, ppb, etc.). Mostly this would be for thermal expansion coefficients. Sometimes people write "10.5 μin/(in⋅°F)", and I'd like to be able to convert it to
The latter one is actually pretty straightforward to add, I think. But the 1st two outputs don't seem possible at the moment. From what I can tell, {{convert}}
needs an input unit and an output unit. Unit cancellation doesn't seem to be able to produce (or even consume) unitless values.
How can I specify 'ppm', 'ppb', etc., as unitless scale values (i.e., essentially equal to 10−6, 10−9, ...)? — sbb ( talk) 20:13, 24 March 2024 (UTC)
{{cvt|10.5|/F|/C||adj=pre|ppm|disp=preunit|ppm}}
→ 10.5 ppm/°F (18.9 ppm/°C){{cvt|10.5|/F|/C||adj=pre|ppm|disp=preunit|× 10<sup>−6</sup>}}
→ 10.5 ppm/°F (18.9 × 10−6/°C)Just noting that a cubic kilometre is 109 m3, and 1000 m3 would be the volume of a 10-metre cube. So km3 seems a bad abbreviation for a cubic kilometre. (km)3 would be technically correct I suppose, if ugly. A similar issue arises for square km and km2. I'll try to check recommended practice later. I've a nasty feeling that the "technically wrong" versions are accepted, but I still don't like ones which are out by a factor of a thousand or a million when taken literally. It's a matter of whether there's an explicit convention that distinguishes k(m3) from (km)3. Musiconeologist ( talk) 14:28, 29 March 2024 (UTC)
This template continues to rule. The fact that {{convert|95|liters/minute|USgal/minute|abbr=on|sp=us}} works and does everything I want it to, I'll swear, is the greatest thing ever. As a content creator, I am never not astounded by the array of parameters on this thing. It has never disappointed me yet. So to every coder who has ever laid a hand on this thing, THANK YOU. jengod ( talk) 17:14, 13 April 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
the conversions are not quite correct Haydennnn ( talk) 13:30, 16 April 2024 (UTC)
This example from Voyager 1:{{Convert|162.7|AU|e9km e9mi|sigfig=3|abbr=unit|lk=on}} renders as: 162.7 AU (24.3 billion km; 15.1 billion mi). This is pretty confusing, since the two links look like a link to billion km. I think billion should not be linked at all in this case. Nickps ( talk) 22:27, 24 April 2024 (UTC)
|lk=on
to |lk=in
, so {{Convert|162.7|AU|e9km e9mi|sigfig=3|abbr=unit|lk=in}}
gives 162.7
AU (24.3 billion km; 15.1 billion mi) .mile
to be changed to show "mile" or "miles" even when abbreviated so people could have an easy and natural way to control the output. Write mi
if "mi" is wanted for the symbol and mile
or miles
if "mile/miles" is wanted. If anyone wants to rekindle this, please start a new section.
Johnuniq (
talk) 02:00, 25 April 2024 (UTC)it remained the most common sense of the word in Britain until the 1950s and still remains in occasional use there, we probably want to keep an explanation of the term. In that case, we could use {{ tooltip}} instead as in billion, except that may not work on mobile and might seem superfluous to people who don't know the long scale. Nickps ( talk) 16:13, 26 April 2024 (UTC)