Template:Tracklist: Difference between revisions
Jump to navigation
Jump to search
imported>Drew R. Smith No edit summary |
imported>Drew R. Smith No edit summary |
||
Line 1: | Line 1: | ||
{{#ifexpr:({{#if:{{{1|}}}|1|0}} OR {{#if:{{{num|}}}|1|0}} OR {{#if:{{{l|}}}|1|0}} OR {{#if:{{{from|}}}|1|0}})|{{#ifexpr:({{#if:{{{2|}}}|1|0}} OR {{#if:{{{w|}}}|1|0}} OR {{#if:{{{to|}}}|1|0}})|{{#ifeq:{{LC:{{{convtype|dim}}}}}|range|{{{{#ifexpr:({{#if:{{{3|}}}|1|0}} OR {{#if:{{{h|}}}|1|0}})| | {{#ifexpr:({{#if:{{{1|}}}|1|0}} OR {{#if:{{{num|}}}|1|0}} OR {{#if:{{{l|}}}|1|0}} OR {{#if:{{{from|}}}|1|0}})|{{#ifexpr:({{#if:{{{2|}}}|1|0}} OR {{#if:{{{w|}}}|1|0}} OR {{#if:{{{to|}}}|1|0}})|{{#ifeq:{{LC:{{{convtype|dim}}}}}|range|{{{{#ifexpr:({{#if:{{{3|}}}|1|0}} OR {{#if:{{{h|}}}|1|0}})|User:Drew R. Smith/Sandbox3|x0}}|red|Range conversion is not possible when three numeric parameters are specified!}}{{{{#ifexpr:(NOT({{#if:{{{3|}}}|1|0}} OR {{#if:{{{h|}}}|1|0}}))|In to cm range|x0}}|{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}|{{{2|{{{w|{{{to}}}}}}}}}|abbr={{{abbr|mos}}}|spell={{{spell|american}}}|wiki={{{wiki|no}}}|precision={{{precision|-999}}}}}|{{{{#ifexpr:({{#if:{{{3|}}}|1|0}} OR {{#if:{{{h|}}}|1|0}})|In to cm 3D|In to cm 2D}}|{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}|{{{2|{{{w|{{{to}}}}}}}}}|{{{3|{{{h}}}}}}|abbr={{{abbr|mos}}}|spell={{{spell|american}}}|wiki={{{wiki|no}}}|precision={{{precision|-999}}}}}}}|{{#ifeq:{{LC:{{{convtype|dim}}}}}|range|{{color|red|Two numeric parameters are required for range conversions!}}|{{FORMATNUM:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}}} {{#ifeq:{{LC:{{{abbr|mos}}}}}|yes|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch|in]]|in}}|{{#ifeq:{{FORMATNUM:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}}}|1|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch]]|inch}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[inch]]es|inches}}}}}} ({{FORMATNUM:{{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*2.54 round {{#if:{{{precision|}}}|{{{precision}}}|{{#ifexpr:({{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*2.54}}<10)|1|0}}}}}}}} {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifexpr:({{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*2.54 round {{#if:{{{precision|}}}|{{{precision}}}|{{#ifexpr:({{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*2.54}}<10)|1|0}}}}=1)|{{#ifeq:{{LC:{{{spell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[centimetre]]|centimetre}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[centimetre|centimeter]]|centimeter}}}}|{{#ifeq:{{LC:{{{spell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[centimetre]]s|centimetres}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[centimetre|centimeters]]|centimeters}}}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[centimetre|cm]]|cm}}}})}}}}|{{color|red|At least one numeric parameter is required!}}}} |
Revision as of 01:46, 14 June 2009
At least one numeric parameter is required!