Template:Traps/row: Difference between revisions

From IdleOn MMO Wiki
No edit summary
No edit summary
Line 4: Line 4:
|data-sort-value="{{{minutes}}}"|{{#ifexpr: {{{minutes|}}} >= 1440| {{#if:{{{dayform|}}}|{{#expr:{{{minutes}}} / 1440}} Days|{{#expr:{{{minutes}}} / 60}} Hours}}|{{#ifexpr: {{{minutes|}}} >= 60 | {{#expr:{{{minutes}}} / 60}} Hours|{{#ifexpr: {{{minutes|}}} > 0 | {{{minutes}}} Minutes| No Time<!--Minutes End-->}}<!--Hours End-->}}<!--Days End-->}}
|data-sort-value="{{{minutes}}}"|{{#ifexpr: {{{minutes|}}} >= 1440| {{#if:{{{dayform|}}}|{{#expr:{{{minutes}}} / 1440}} Days|{{#expr:{{{minutes}}} / 60}} Hours}}|{{#ifexpr: {{{minutes|}}} >= 60 | {{#expr:{{{minutes}}} / 60}} Hours|{{#ifexpr: {{{minutes|}}} > 0 | {{{minutes}}} Minutes| No Time<!--Minutes End-->}}<!--Hours End-->}}<!--Days End-->}}
|{{{qty}}}x
|{{{qty}}}x
|{{#if:{{{xp|}}}|{{{xp}}}x}}
|{{#if:{{{xp|}}}|{{{xp|1}}}x}}
|{{#if:{{{shiny|}}}|{{{shiny}}}x}}
|{{#if:{{{shiny|}}}|{{{shiny|1}}}x}}
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{qty}}}}} round 2}}x/h
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{qty}}}}} round 2}}x/h
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{xp}}}}} round 2}}x/h
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{xp|0}}}}} round 2}}x/h
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{shiny}}}}} round 2}}x/h
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{shiny|0}}}}} round 2}}x/h
<includeonly><noinclude>
<includeonly><noinclude>
<pre>
<pre>

Revision as of 19:08, 25 June 2022