Difference between revisions of "Template:Infobox mountain/convert"
Jump to navigation
Jump to search
imported>RedWolf m (Protected Template:Infobox mountain/convert: Highly visible template: Sub-template of higly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
imported>WOSlinker m (Changed protection level of Template:Infobox mountain/convert: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{#switch: {{lc:{{{2|}}}}} | |
| − | | ft = {{formatnum:{{{1|}}}}} ft ({{#iferror: {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} * 0.30480 round | + | | 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
This template is transcluded by Template:Infobox mountain to perform unit conversion.
See also
- {{Infobox mountain}}
- {{Convert}}
| The above documentation is transcluded from Template:Infobox mountain/convert/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |