Difference between revisions of "Template:Height/m to ft in"
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}}}}} {{#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)}}}} {{#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}}}}}}} {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch]]es|inches}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch|in]]|in}}}})</includeonly><noinclude> | + | <includeonly>{{FORMATNUM:{{{1}}}}} {{#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)}}}} {{#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}}}}}}} {{#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
| The above documentation is transcluded from Template:Height/m to ft in/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |