Template:Traps/row: Difference between revisions

From IdleOn MMO Wiki
No edit summary
(fixed usage and added example)
 
(23 intermediate revisions by one other user not shown)
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}}
|QTY Eff: {{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{qty}}}}} round 2}}x/h
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{qty|1}}}}} round 2}}x/h
{{#if:{{{xp|}}}
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{xp|1}}}}} round 2}}x/h
|XP Eff: {{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{xp}}}}} round 2}}x/h}}
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{shiny|1}}}}} round 2}}x/h
|Shiny Eff: {{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{shiny}}}}} round 2}}x/h}}|
</includeonly><noinclude>
<includeonly><noinclude>
== Usage ==
 
<pre>
<pre>
Usage:
{{Traps/row
{{Traps/row
|name=example
|name=example
Line 20: Line 20:
|shiny=example (multiplier)
|shiny=example (multiplier)
}}</pre>
}}</pre>
== Example ==
{| class="wikitable mw-collapsible sortable" id="Trap Efficiency"
|+Silkskin Trap Data
!Time
!Qty Multi
!XP Multi
!Shiny Multi
!Qty Eff
!XP Eff
!Shiny Eff
|-
{{Traps/row|minutes=20|qty=1|shiny=2}}
{{Traps/row|minutes=60|qty=2|shiny=4}}
{{Traps/row|minutes=480|qty=10|shiny=16}}
{{Traps/row|minutes=1200|qty=20|shiny=30}}
{{Traps/row|minutes=2400|qty=35|shiny=50}}
|}
[[Category:Table Templates]]
[[Category:Table Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:10, 1 September 2023

Usage

{{Traps/row
|name=example
|minutes/hours/days=example
|qty=example (multiplier)
|xp=example (multiplier)
|shiny=example (multiplier)
}}

Example

Silkskin Trap Data
Time Qty Multi XP Multi Shiny Multi Qty Eff XP Eff Shiny Eff
20 Minutes 1x 2x 3x/h 3x/h 6x/h
1 Hours 2x 4x 2x/h 1x/h 4x/h
8 Hours 10x 16x 1.25x/h 0.13x/h 2x/h
20 Hours 20x 30x 1x/h 0.05x/h 1.5x/h
40 Hours 35x 50x 0.88x/h 0.03x/h 1.25x/h