Difference between revisions of "Template:Height/m to ft in"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (Changed protection level of Template:Height/m to ft in: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)))
imported>DePiep
(add /doc subpage; btw todo: rm TE prot (0 transc's in mainspace))
 
Line 1: Line 1:
<includeonly>{{FORMATNUM:{{{1}}}}}&nbsp;{{#ifexpr:({{#ifeq:{{LC:{{{abbr|mos}}}}}|mos|1|0}} OR {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|1|0}})|{{#ifeq:{{LC:{{{spell|american}}}}}|american|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|meters]]|meters}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre]]s|metres}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|m]]|m}}}} ({{FORMATNUM:{{#expr:floor(((({{{1}}}/.3048*12*{{#switch:{{{frac|1}}}||0|1=1|#default={{{frac|1}}}}}) round {{#switch:{{{frac|1}}}||0|1={{{precision|1}}}|#default=0}})/{{#switch:{{{frac|1}}}||0|1=1|#default={{{frac|1}}}}})/12)}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[foot (unit)|feet]]|feet}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[foot (unit of length)|ft]]|ft}}}} {{#switch:{{{frac|1}}}||0|1={{#expr:(({{{1}}}/.3048*12) round {{{precision|1}}}) - 12*floor((({{{1}}}/.3048*12) round {{{precision|1}}})/12) round {{{precision|1}}}}}|{{dec to frac|{{#expr:(({{{1}}}/.3048*12*{{{frac|1}}}) round 0)/{{{frac|1}}} - 12*floor(((({{{1}}}/.3048*12*{{{frac|1}}}) round 0)/{{{frac|1}}})/12)}}|{{{frac}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch]]es|inches}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch|in]]|in}}}})</includeonly><noinclude>This subpage of {{tl|height}} converts metres to feet and inches.</noinclude>
+
<includeonly>{{FORMATNUM:{{{1}}}}}&nbsp;{{#ifexpr:({{#ifeq:{{LC:{{{abbr|mos}}}}}|mos|1|0}} OR {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|1|0}})|{{#ifeq:{{LC:{{{spell|american}}}}}|american|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|meters]]|meters}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre]]s|metres}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|m]]|m}}}} ({{FORMATNUM:{{#expr:floor(((({{{1}}}/.3048*12*{{#switch:{{{frac|1}}}||0|1=1|#default={{{frac|1}}}}}) round {{#switch:{{{frac|1}}}||0|1={{{precision|1}}}|#default=0}})/{{#switch:{{{frac|1}}}||0|1=1|#default={{{frac|1}}}}})/12)}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[foot (unit)|feet]]|feet}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[foot (unit of length)|ft]]|ft}}}} {{#switch:{{{frac|1}}}||0|1={{#expr:(({{{1}}}/.3048*12) round {{{precision|1}}}) - 12*floor((({{{1}}}/.3048*12) round {{{precision|1}}})/12) round {{{precision|1}}}}}|{{dec to frac|{{#expr:(({{{1}}}/.3048*12*{{{frac|1}}}) round 0)/{{{frac|1}}} - 12*floor(((({{{1}}}/.3048*12*{{{frac|1}}}) round 0)/{{{frac|1}}})/12)}}|{{{frac}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch]]es|inches}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch|in]]|in}}}})</includeonly><noinclude>
 +
{{documentation}}</noinclude>

Latest revision as of 08:26, 24 October 2014

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

This subpage of {{height}} converts metres to feet and inches.

Usage

See {{Height}}