185
edits
(add mph -> km/h formula... why isn't it called kph?) |
(figured out what round is for and why that bracketed "4|0" is there... if you leave that field empty, you have to remove round. if you put a number and there's no round you get an unexpected number error...) |
||
Line 24: | Line 24: | ||
| mm = {{error|Conversion not implemented}} | | mm = {{error|Conversion not implemented}} | ||
| in = {{error|Conversion not implemented}} | | in = {{error|Conversion not implemented}} | ||
| m = {{#expr: {{{1}}} * 0.3048 {{{4|0}}}}} {{#if: {{{5|}}}||m}} | | m = {{#expr: {{{1}}} * 0.3048 round {{{4|0}}}}} {{#if: {{{5|}}}||m}} | ||
| km = {{error|Conversion not implemented}} | | km = {{error|Conversion not implemented}} | ||
| mi = {{error|Conversion not implemented}} | | mi = {{error|Conversion not implemented}} | ||
| NM = {{#expr: {{{1}}} * 0.00016457883 {{{4|0}}}}} {{#if: {{{5|}}}||NM}} | | NM = {{#expr: {{{1}}} * 0.00016457883 round {{{4|0}}}}} {{#if: {{{5|}}}||NM}} | ||
| #default = {{error|Parameter '''to-unit''' missing or not supported}} | | #default = {{error|Parameter '''to-unit''' missing or not supported}} | ||
}} | }} | ||
Line 53: | Line 53: | ||
| ft = {{error|Conversion not implemented}} | | ft = {{error|Conversion not implemented}} | ||
| m = {{error|Conversion not implemented}} | | m = {{error|Conversion not implemented}} | ||
| km = {{#expr: {{{1}}} * 1.60934 {{{4|0}}}}} {{#if: {{{5|}}}||km}} | | km = {{#expr: {{{1}}} * 1.60934 round {{{4|0}}}}} {{#if: {{{5|}}}||km}} | ||
| NM = {{#expr: {{{1}}} * 0.868976 {{{4|0}}}}} {{#if: {{{5|}}}||NM}} | | NM = {{#expr: {{{1}}} * 0.868976 round {{{4|0}}}}} {{#if: {{{5|}}}||NM}} | ||
| #default = {{error|Parameter '''to-unit''' missing or not supported}} | | #default = {{error|Parameter '''to-unit''' missing or not supported}} | ||
}} | }} | ||
Line 90: | Line 90: | ||
| ft/s = {{error|Conversion not implemented}} | | ft/s = {{error|Conversion not implemented}} | ||
| m/s = {{error|Conversion not implemented}} | | m/s = {{error|Conversion not implemented}} | ||
| km/h = {{#expr: {{{1}}} * 1.60934 {{{4|0}}}}} {{#if: {{{5|}}}||km/h}} | | km/h = {{#expr: {{{1}}} * 1.60934 round {{{4|0}}}}} {{#if: {{{5|}}}||km/h}} | ||
| kt = {{#expr: {{{1}}} * 0.869 {{{4|0}}}}} {{#if: {{{5|}}}||kt}} | | kt = {{#expr: {{{1}}} * 0.869 round {{{4|0}}}}} {{#if: {{{5|}}}||kt}} | ||
| #default = {{error|Parameter '''to-unit''' missing or not supported}} | | #default = {{error|Parameter '''to-unit''' missing or not supported}} | ||
}} | }} | ||
Line 98: | Line 98: | ||
| m/s = {{error|Conversion not implemented}} | | m/s = {{error|Conversion not implemented}} | ||
| km/h = {{error|Conversion not implemented}} | | km/h = {{error|Conversion not implemented}} | ||
| mph = {{#expr: {{{1}}} * 1.152 {{{4|0}}}}} {{#if: {{{5|}}}||mph}} | | mph = {{#expr: {{{1}}} * 1.152 round {{{4|0}}}}} {{#if: {{{5|}}}||mph}} | ||
| #default = {{error|Parameter '''to-unit''' missing or not supported}} | | #default = {{error|Parameter '''to-unit''' missing or not supported}} | ||
}} | }} |
edits