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

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(adjust constant)
imported>The Earwig
m (Protected "Template:Infobox dim/core": Highly visible template: nearly 15,000 mainspace transclusions ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
(No difference)

Revision as of 07:50, 14 December 2015

{{#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 }} }} }}