Template:Traps/row: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
(fixed usage and added example)
 
(58 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|[[{{{name}}}]]
{{#if:{{{name|}}}|{{!}} rowspan="{{{rowspan|}}}" {{!}}[[File:{{{name}}}.png]]|}}
|{{#if:{{{minutes|}}}|{{{minutes}}} minutes}}{{#if:{{{hours|}}}|{{{hours}}}}}{{#if:{{{days|}}}|{{{days}}} days}}
{{#if:{{{name|}}}|{{!}} rowspan="{{{rowspan|}}}" {{!}}{{{name}}}|}}
|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
|{{{xp}}}x
|{{#if:{{{xp|}}}|{{{xp|1}}}x}}
|{{#if:{{{shiny|}}}|{{{shiny}}}x}}
|{{#if:{{{shiny|}}}|{{{shiny|1}}}x}}
|{{#if:{{{minutes|}}}|{{#expr:{{{qty}}}*3}}/h}}{{#if:{{{hours|}}}|{{#expr:{{{qty}}}/{{{hours}}}}}}}{{#if:{{{days|}}}|{{#expr:{{{qty}}}/{{{days}}}*24}}}}
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{qty|1}}}}} round 2}}x/h
{{#if:{{{xp|}}}|{{#if:{{{minutes|}}}|{{#expr:{{{xp}}}*3}}/h}}{{#if:{{{hours|}}}|{{#expr:{{{xp}}}/{{{hours}}}}}}}{{#if:{{{xp|}}}|{{#expr:{{{xp}}}/{{{days}}}*24}}}}}}<includeonly><noinclude>
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{xp|1}}}}} round 2}}x/h
|{{#expr:{{#expr:{{#expr:60 / {{{minutes}}}}} * {{{shiny|1}}}}} round 2}}x/h
</includeonly><noinclude>
== Usage ==
 
<pre>
<pre>
Usage:
{{Traps/row
{{Traps/row
|name=example
|name=example
Line 16: 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