Vorlage:Cm in ft in: Unterschied zwischen den Versionen
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
<includeonly>{{FORMATNUM:{{#if:{{{num|}}}|{{{num}}}|{{{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|[[ | <includeonly>{{FORMATNUM:{{#if:{{{num|}}}|{{{num}}}|{{{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({{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}/.3048)}} {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[foot (unit of length)|feet]]|feet}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[foot (unit of length)|ft]]|ft}}}} {{#ifexpr:{{{frac|10}}}=10|{{#expr:(({{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}/.0254-12*{{#expr:floor({{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}/.3048)}}) round {{{precision|1}}})}}|{{dec to frac|{{#expr:(({{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}/.0254-12*{{#expr:floor({{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}/.3048)}}) round {{{precision|1}}})}}|{{{frac}}}}}}} {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch]]es|inches}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch|in]]|in}}}}}})</includeonly><noinclude></noinclude> |