Template talk:Convinfobox

More duals
For British Rail Class 139 like  Peter Horn User talk 15:27, 22 October 2012 (UTC)
 * Is this meant to be the engine displacement or the fuel capacity? Peter Horn User talk 16:44, 22 October 2012 (UTC)
 * The former I'd guess. J IM ptalk·cont 08:46, 23 October 2012 (UTC)
 * Thanks. . I never heard of the engine displacement given in inperial quarts. Peter Horn User talk 21:06, 23 October 2012 (UTC) Peter Horn User talk 21:07, 23 October 2012 (UTC)
 * Nor have I but I'm not up with train lingo. J IM ptalk·cont 23:26, 23 October 2012 (UTC)
 * Such a small quantity like 2.3 litres cannot be a fuel capacity, unless it's a lawnmower - even a very small motor car has a somewhat larger tank capacity (for example, the 2012 Nissan Micra with its 1198 cc engine has a 41-litre tank), so a railway train, being somewhat heavier (even one with just one carriage), is likely to have a significantly larger tank. Therefore 2.3 litres must be an engine displacement. Internal-combustion engine displacements are invariably quoted using just two units: cubic centimetres and cubic inches. This brings me to my next point: where are quarts mentioned? I don't see this unit above, nor in the page history for British Rail Class 139. What I do see are several attempts to use other inappropriate units such as gallons and pints. The cc figure is sometimes given as an approximation in litres; but the cubic inches figure is never given a pints/quarts/gallons equivalent, even approximately. -- Red rose64 (talk) 08:40, 24 October 2012 (UTC)
 * Perhaps the fuel is liquid deuterium and it's a nuclear fusion engine. Pints, quarts, gallons, all must be the result of some confusion somehere along the track. J IM ptalk·cont 01:13, 25 October 2012 (UTC)

Stones and pounds separately?
How can I make this template give this format for a result: 112 kg (17.6 st; 247 lb)? I tried using, but it gives I don't see a need for this to work this way, because  gives the same thing. Jackmcbarn (talk) 16:50, 23 August 2013 (UTC)

Also, why does work  and  not ? Jackmcbarn (talk) 16:56, 23 August 2013 (UTC)

Deprecated?
Is this edit a good or bad idea? Andy Dingley (talk) 10:01, 21 December 2013 (UTC)
 * a very good idea. the entire purpose of this template is for use within infobox code.  there is no need for the additional overhead in articles. Frietjes (talk) 18:02, 22 December 2013 (UTC)
 * Sorry, I'm not seeing your point. These uses were in parameters supplied to an infobox. Are you saying that this is an inappropriate use, and that these specialised templates are only for use within the code of infoboxes, where an infobox takes a parameter as a dimensioned value (i.e. with implied units) and the scaling is then done entirely within the infobox template? I admit I wasn't aware that we had any such infoboxes - all those I've used have taken parameters as simple untyped text (very commonly the results of a call to convert) and have just presented it, as is.
 * Also what is an "infobox" in this sense? There are a few templates, like pistonspecs, that I would expect to be treated as infoboxes in this sense (and are perhaps more likely to use typed parameters), yet they are displayed within the body of an article, rather than pulled as a separately displayed box. Andy Dingley (talk) 19:51, 22 December 2013 (UTC)
 * sorry for not being more clear. this template is a frontend for convert.  it takes the values passed to it and passes them to .  there is no reason to add the additional overhead if the inputs are known.  the perfect usage of this is (as you identified) within the code for templates.  for example, in the code for infobox hiking trail, you will see  .  this is a simplification of, but equivalent to,   an even better use of this template is in infobox rugby union biography, where the weight may be specified in kg, lb, st, or st and lb.  you can find other in-template uses by checking [//en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Convinfobox&namespace=10&hidelinks=1&limit=100 here], although many of those are frontends for other templates like infobox sportsperson and infobox station.  hopefully that's more clear? Frietjes (talk) 15:57, 23 December 2013 (UTC)

Convert accepting MOS-formed fractional input
Some developments in Convert that might be interesting for this template (& its usage in infobox code, i.e. for template editors).

1. From this talk: returns (will return, it's sandbox only now)   in each case of error. Before, some errors had a [maintenance tag] or error categorisation only. In the new situation, one can check for any error:

2. From this talk:
 * When input can have a fraction (in any MOS-format input code), Module:Convert/helper can preprocess the input into a -fit input: 24 2/3 &rarr; 24+2/3 (the "+" is required in ).

3. Also, input processing m undefined is added.

Demo's are in Template:NFL predraft/testcases (not using, not using input). -DePiep (talk) 11:18, 12 August 2017 (UTC)