Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Size: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#switch: {{{1|cm}}}
{{#switch: {{{1|cm}}}
| cm = {{formatnum:{{{2}}}}} cm  × {{formatnum:{{{3}}}}} cm  ; {{formatnum:{{#expr:( {{{2}}} * 0.39370) round 3}}}} × {{formatnum:{{#expr:( {{{3}}} * 0.3937 ) round 3}}}} in.
| cm = {{formatnum:{{{2|0}}}}} cm  × {{formatnum:{{{3|0}}}}} cm  ; {{formatnum:{{#expr:( {{{2|0}}} * 0.39370) round 3}}}} × {{formatnum:{{#expr:( {{{3|0}}} * 0.3937 ) round 3}}}} in.
|  m = {{formatnum:{{{2}}}}}  m  × {{formatnum:{{{3}}}}} m  ; {{formatnum:{{#expr:( {{{2}}} * 1.09360) round 3}}}} × {{formatnum:{{#expr:( {{{3}}} * 1.0936 ) round 3}}}} yd.
|  m = {{formatnum:{{{2|0}}}}}  m  × {{formatnum:{{{3|0}}}}} m  ; {{formatnum:{{#expr:( {{{2|0}}} * 1.09360) round 3}}}} × {{formatnum:{{#expr:( {{{3|0}}} * 1.0936 ) round 3}}}} yd.
| km = {{formatnum:{{{2}}}}} km  × {{formatnum:{{{3}}}}} km  ; {{formatnum:{{#expr:( {{{2}}} * 0.62138) round 3}}}} × {{formatnum:{{#expr:( {{{3}}} * 0.62138) round 3}}}} mi.
| km = {{formatnum:{{{2|0}}}}} km  × {{formatnum:{{{3|0}}}}} km  ; {{formatnum:{{#expr:( {{{2|0}}} * 0.62138) round 3}}}} × {{formatnum:{{#expr:( {{{3|0}}} * 0.62138) round 3}}}} mi.
| in = {{formatnum:{{{2}}}}} in. × {{formatnum:{{{3}}}}} in. ; {{formatnum:{{#expr:( {{{2}}} * 2.54  ) round 3}}}} × {{formatnum:{{#expr:( {{{3}}} * 2.54  ) round 3}}}} cm
| in = {{formatnum:{{{2|0}}}}} in. × {{formatnum:{{{3|0}}}}} in. ; {{formatnum:{{#expr:( {{{2|0}}} * 2.54  ) round 3}}}} × {{formatnum:{{#expr:( {{{3|0}}} * 2.54  ) round 3}}}} cm
| ft = {{formatnum:{{{2}}}}} ft. × {{formatnum:{{{3}}}}} ft. ; {{formatnum:{{#expr:( {{{2}}} * 0.3048 ) round 3}}}} × {{formatnum:{{#expr:( {{{3}}} * 0.3048 ) round 3}}}} m
| ft = {{formatnum:{{{2|0}}}}} ft. × {{formatnum:{{{3|0}}}}} ft. ; {{formatnum:{{#expr:( {{{2|0}}} * 0.3048 ) round 3}}}} × {{formatnum:{{#expr:( {{{3|0}}} * 0.3048 ) round 3}}}} m
| yd = {{formatnum:{{{2}}}}} yd. × {{formatnum:{{{3}}}}} yd. ; {{formatnum:{{#expr:( {{{2}}} * 0.9144 ) round 3}}}} × {{formatnum:{{#expr:( {{{3}}} * 0.9144 ) round 3}}}} m
| yd = {{formatnum:{{{2|0}}}}} yd. × {{formatnum:{{{3|0}}}}} yd. ; {{formatnum:{{#expr:( {{{2|0}}} * 0.9144 ) round 3}}}} × {{formatnum:{{#expr:( {{{3|0}}} * 0.9144 ) round 3}}}} m
| mi = {{formatnum:{{{2}}}}} mi. × {{formatnum:{{{3}}}}} mi. ; {{formatnum:{{#expr:( {{{2}}} * 1.60934) round 3}}}} × {{formatnum:{{#expr:( {{{3}}} * 1.60934) round 3}}}} km
| mi = {{formatnum:{{{2|0}}}}} mi. × {{formatnum:{{{3|0}}}}} mi. ; {{formatnum:{{#expr:( {{{2|0}}} * 1.60934) round 3}}}} × {{formatnum:{{#expr:( {{{3|0}}} * 1.60934) round 3}}}} km
}}<noinclude>
}}<noinclude>


Line 15: Line 15:
: 3 The height of the Size, using the declared unit and "." as decimal separator.
: 3 The height of the Size, using the declared unit and "." as decimal separator.


Examples on the discussion-page.
<noinclude>
<noinclude>

Revision as of 23:09, 27 May 2007

0 cm × 0 cm  ; 0 × 0 in.

To transform a 2D-size (width x height) between measures. Parameters:

1 The unit of input. must be one of cm, m, km, in, ft, yd or mi .
2 The width of the Size, using the declared unit and "." as decimal separator.
3 The height of the Size, using the declared unit and "." as decimal separator.

Examples on the discussion-page.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.