Template:Infobox dim/core

From Project: Jotunnheim
Revision as of 09:04, 21 February 2023 by Rox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Pp-template

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