Difference between revisions of "Template:Infobox mountain/convert"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(opps)
imported>Droll
(tweaked a bit)
Line 1: Line 1:
{{#switch: {{lc:{{{2|}}}}}
+
<includeonly>{{#switch: {{lc:{{{2|}}}}}
 
   | ft = {{formatnum:{{{1|}}}}} ft ({{#iferror:  {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} * 0.30480 round 1}}}} | {{error|Invalid value}} }} m)<!-- to metres -->
 
   | ft = {{formatnum:{{{1|}}}}} ft ({{#iferror:  {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} * 0.30480 round 1}}}} | {{error|Invalid value}} }} m)<!-- to metres -->
 
   | m  = {{formatnum:{{{1|}}}}} m ({{#iferror:  {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} / 0.30480 round 0}}}} | {{error|Invalid value}} }} ft)<!-- to feet -->
 
   | m  = {{formatnum:{{{1|}}}}} m ({{#iferror:  {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} / 0.30480 round 0}}}} | {{error|Invalid value}} }} ft)<!-- to feet -->
 
   | {{error|Invalid unit}}
 
   | {{error|Invalid unit}}
}}
+
}}</includeonly><noinclude>
 +
<!--
 +
  PLEASE ADD CATEGORIES AND INTERWIKIS
 +
  TO THE /doc SUBPAGE, THANKS
 +
-->
 +
{{Documentation}}
 +
</noinclude>

Revision as of 07:06, 27 June 2010

Template documentation[view] [edit] [history] [purge]

This template is transcluded by Template:Infobox mountain to perform unit conversion.

See also