Template:Tracklist: Difference between revisions

From Citizendium
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}})|color|x0}}|red|Range conversion is not possible when three numeric parameters are specified!}}{{{{#ifexpr:(NOT({{#if:{{{3|}}}|1|0}} OR {{#if:{{{h|}}}|1|0}}))|Ft to M 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}})|Ft to M 3D|Ft to M 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}}}}}}}}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|yes|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[feet|Ft]]|Ft}}|{{#ifeq:{{FORMATNUM:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}}}|1|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[feet]]|feet}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[Feet]]|Feet}}}}}} ({{FORMATNUM:{{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048 round {{#if:{{{precision|}}}|{{{precision}}}|{{#ifexpr:({{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048}}<10)|1|0}}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifexpr:({{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048 round {{#if:{{{precision|}}}|{{{precision}}}|{{#ifexpr:({{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048}}<10)|1|0}}}}=1)|{{#ifeq:{{LC:{{{spell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre]]|metre}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|meter]]|meter}}}}|{{#ifeq:{{LC:{{{spell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre]]s|metres}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|meters]]|meters}}}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|M]]|M}}}})}}}}|{{color|red|At least one numeric parameter is required!}}}}<noinclude>
{{#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}})|color|x0}}|red|Range conversion is not possible when three numeric parameters are specified!}}{{{{#ifexpr:(NOT({{#if:{{{3|}}}|1|0}} OR {{#if:{{{h|}}}|1|0}}))|Ft to M 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}})|Ft to M 3D|Ft to M 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}}}}}}}}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|yes|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[feet|Ft]]|Ft}}|{{#ifeq:{{FORMATNUM:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}}}|1|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[feet]]|feet}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[Feet]]|Feet}}}}}} ({{FORMATNUM:{{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048 round {{#if:{{{precision|}}}|{{{precision}}}|{{#ifexpr:({{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048}}<10)|1|0}}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifexpr:({{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048 round {{#if:{{{precision|}}}|{{{precision}}}|{{#ifexpr:({{#expr:{{{1|{{{num|{{{l|{{{from}}}}}}}}}}}}*0.3048}}<10)|1|0}}}}=1)|{{#ifeq:{{LC:{{{spell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre]]|metre}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|meter]]|meter}}}}|{{#ifeq:{{LC:{{{spell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre]]s|metres}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|meters]]|meters}}}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[metre|M]]|M}}}})}}}}|{{color|red|At least one numeric parameter is required!}}}}<noinclude>
{{TlDoc|complex}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 04:48, 15 June 2009

At least one numeric parameter is required!