Template talk:Convert/Archive June 2012
{{talkarchive}}
Clarification needed
When I do
- It is a feature which matches formal English usage: The omission of the adjective hyphen "-" with unit-symbol names (such as "3 mi funrun") is a quirk of formal English-language punctuation idioms. Logically, it would be more readable as a "500-ft descent" but perhaps the reasoning is that a unit symbol always connects to the prior number (with no hyphen needed to connect them), so in written text, the hyphen is almost always omitted with an adjective symbol, and we commonly see "9 mm handgun" (rarely "9-mm"). If Convert inserted the hyphen with unit-symbol adjectives, then some users would complain that Convert displayed "non-standard" English punctuation to force the hyphen. As a positive note, consider Convert's generated output to be the "formally correct" manner for displaying conversions with adjectives and unit symbols. -Wikid77 (talk) 11:20, 9 June 2012 (UTC)
- Ah, didn't know that. Thanks for the response and a detailed explanation!—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); June 9, 2012; 15:27 (UTC)
Plural Units when less than 1
Hi-
Right now, if I
- Options already available: Several other people have asked for similar options, so we have "adj=1" and {convert/spell} to show words:
::* Originally: {{convert|1/2|mi|km}} {{in5|9}}→ {{convert|1/2|mi|km}}
::* Non-plural: {{convert|1/2|mi|km|adj=1}} → {{convert|1/2|mi|km|adj=1}}
::* Spellings: {{convert/spell |1/2|mi|km}} → {{convert|spell=in|1/2|mi|km}}
: See: Help:Convert for other options. Due to the complexity, spellings are based on numeral inputs ("320"), and there are no plans to support the words; however, Google Search can do it, see: "[http://www.google.com/search?q=three%20hundred%20twenty%20miles%20in%20kilometres Google for three hundred twenty miles]". So, perhaps some day... -Wikid77 07:03, 13 June 2012 (UTC)
:::Wow! Thanks. That's perfect. Nice to know stuff. JMOprof (talk) 14:05, 13 June 2012 (UTC)
Wonky miles per gallon
- Use Convert/2 for non-supported ranges: Use {convert/2} or hand-code the conversion in the text. There are several units, among the current hundreds, which do not work in typical 2-number ranges. Instead, use Template:Convert/2 (which has almost no restrictions on unit ranges), but output as "l/100 km" (not both "l/100 km mpgimp"):
::* {{convert/2 |15|to|32|mpgus|l/100 km}} → {{
::* {{convert/2 |15|to|32|mpgus|l/100 km mpgimp}} → {{
: There are so many thousands of options with ranges, I have forgotten why the parameter for unit name, {{{n}}}, is not defined for those inverse mpgus units. It seems as though it would be easy to fix, but perhaps not, because the input is a mixed unit, of "miles" per "gallon". -Wikid77 (talk) 14:28, 20 June 2012 (UTC)