Difference between revisions of "Template:Infobox dim/core"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(no need for doc)
imported>Hike395
m (typo in doc)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#ifexpr:{{{1}}}>{{{2}}}|{{#expr:{{{1}}}*0.5}}km|{{#expr:{{{2}}}*0.5}}km }}<!--
+
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#ifexpr:{{{1}}}>{{{2}}}|{{#expr:{{{1}}}*0.5 round0}}km|{{#expr:{{{2}}}*0.5 round0}}km }}<!--
               -->|{{#expr:{{{1}}}*0.5}}km }}|{{#if:{{{2|}}}|{{#expr:{{{2}}}*0.5}}km}} }}</includeonly>
+
               -->|{{#expr:{{{1}}}*0.5 round0}}km }}|{{#if:{{{2|}}}|{{#expr:{{{2}}}*0.5 round0}}km<!--
 +
              -->|{{#if:{{{3|}}}|{{#expr:exp(0.5*ln({{{3}}})-0.023) round0}}km }} }} }}</includeonly><noinclude>{{pp-template|small=yes}}
 +
<pre>
 +
{{#if:{{{1|}}}
 +
  |{{#if:{{{2|}}}
 +
      |{{#ifexpr:{{{1}}}>{{{2}}}
 +
        |{{#expr:{{{1}}}*0.5 round0}}km
 +
        |{{#expr:{{{2}}}*0.5 round0}}km}}
 +
      |{{#expr:{{{1}}}*0.5 round0}}km}}
 +
  |{{#if:{{{2|}}}
 +
      |{{#expr:{{{2}}}*0.5 round0}}km
 +
      |{{#if:{{{3|}}}|{{#expr:exp(0.5*ln({{{3}}})-0.023) round0}}km }} }} }}</pre></noinclude>

Latest revision as of 14:49, 21 November 2016

{{#if:{{{1|}}}
   |{{#if:{{{2|}}}
      |{{#ifexpr:{{{1}}}>{{{2}}}
         |{{#expr:{{{1}}}*0.5 round0}}km
         |{{#expr:{{{2}}}*0.5 round0}}km}}
      |{{#expr:{{{1}}}*0.5 round0}}km}}
   |{{#if:{{{2|}}}
      |{{#expr:{{{2}}}*0.5 round0}}km 
      |{{#if:{{{3|}}}|{{#expr:exp(0.5*ln({{{3}}})-0.023) round0}}km }} }} }}