User talk:Johan G/convert

From FlightGear wiki
< User talk:Johan G
Revision as of 18:13, 5 August 2018 by Wkitty42 (talk | contribs) (→‎Parameter value missing: tricks learned while editing and using the template)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Parameter value missing

does this template automatically add the to-unit units? in other words, if i "convert|100|mph|kts" will it put kts after the converted number?

also all i can get out of it is like seen on the convert page at the top where it just says "Parameter value missing" but i know they're there... see my experiment here...

--Wkitty42 (talk) 10:58, 4 August 2018 (EDT)

Hmm. Looking at the template I nearly immediately spotted the problem. I had used named parameters instead of unnamed/numbered parameters (i.e. using {{{value}}} in the template, requiring the value to be written as value=72 when "calling" the template instead of just 72 as was intended).
With that fixed the issue should be limited to "just" units not yet implemented. :-P
Johan G (Talk | contribs) 13:19, 5 August 2018 (EDT)
yes! it is working great! there are some tricks, though...


  • when using the template, you must have 5 |'s in the parameters.
  • if the exprn has round in it, you have to put a value, even zero, in the decimals field.
  • the hide field is the only field that can be empty.



--Wkitty42 (talk) 14:12, 5 August 2018 (EDT)