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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(tweaked a bit)
imported>WOSlinker
m (Changed protection level of Template:Infobox mountain/convert: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{2|}}}}}
+
{{#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 0}}}} | {{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}}
+
   | <includeonly>{{error|Invalid unit}}</includeonly>
}}</includeonly><noinclude>
+
}}<noinclude>
 
<!--
 
<!--
 
   PLEASE ADD CATEGORIES AND INTERWIKIS
 
   PLEASE ADD CATEGORIES AND INTERWIKIS

Latest revision as of 14:31, 19 October 2013

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

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

See also