Difference between revisions of "Template:Measconv"
Koppadasao (talk | contribs) m |
Koppadasao (talk | contribs) m |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:var}}{{ | <includeonly>{{#vardefine:var}}{{ | ||
#switch:{{{source}}} | #switch:{{{source}}} | ||
− | | reung={{#vardefine:var|{{#expr: {{{ | + | | reung={{#vardefine:var|{{#expr: {{{measure}}}*1142.1 round0 }}}} |
− | | mest={{#vardefine:var|{{#expr: {{{ | + | | mest={{#vardefine:var|{{#expr: {{{measure}}}*38.07 round0 }}}} |
− | | fiqj={{#vardefine:var|{{#expr: {{{ | + | | fiqj={{#vardefine:var|{{#expr: {{{measure}}}*33.84 round0 }}}} |
− | | wall={{#vardefine:var|{{#expr: {{{ | + | | wall={{#vardefine:var|{{#expr: {{{measure}}}*12.69 round0 }}}} |
− | | metre={{#vardefine:var|{{#expr: {{{ | + | | metre={{#vardefine:var|{{#expr: {{{measure}}}*0.846 round0 }}}} |
− | | braz={{#vardefine:var|{{#expr: {{{ | + | | braz={{#vardefine:var|{{#expr: {{{measure}}}*0.423 round0 }}}} |
− | | riqj={{#vardefine:var|{{#expr: {{{ | + | | riqj={{#vardefine:var|{{#expr: {{{measure}}}*0.18 round0 }}}} |
− | | pawz={{#vardefine:var|{{#expr: {{{ | + | | pawz={{#vardefine:var|{{#expr: {{{measure}}}*0.045 round0 }}}} |
− | | ong={{#vardefine:var|{{#expr: {{{ | + | | ong={{#vardefine:var|{{#expr: {{{measure}}}*0.018 round0 }}}} |
− | | lunu={{#vardefine:var|{{#expr: {{{ | + | | lunu={{#vardefine:var|{{#expr: {{{measure}}}*0.003 round0 }}}} |
}}{{ | }}{{ | ||
#switch:{{{target}}} | #switch:{{{target}}} | ||
Line 20: | Line 20: | ||
| cm={{#vardefine:var|{{#expr: {{#var:var}}*100 round0 }}}} | | cm={{#vardefine:var|{{#expr: {{#var:var}}*100 round0 }}}} | ||
| km={{#vardefine:var|{{#expr: {{#var:var}}/1000 round0 }}}} | | km={{#vardefine:var|{{#expr: {{#var:var}}/1000 round0 }}}} | ||
− | }} {{#var:var}}</includeonly><noinclude>{{Temp}}</noinclude> | + | }} {{#var:var}}</includeonly><noinclude> |
+ | Usage: | ||
+ | {{Measconv | ||
+ | |target= | ||
+ | |source= | ||
+ | |measure= | ||
+ | }} | ||
+ | {{Temp}}</noinclude> |
Revision as of 14:16, 1 March 2013
Usage: