Template:InfoCard/row: Difference between revisions

From IdleOn MMO Wiki
imported>Morojo
(Fixed the calculation for tier requirement)
imported>Kiokurashi
No edit summary
Line 7: Line 7:
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*2}}|  }}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*2}}|  }}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*3}}|  }}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*3}}|  }}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*4}}|  }}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*4}}|  }}<!--
| align="center"|{{#if: {{{reqtier|}}}|{{#expr: ceil({{{reqtier}}} + 1) }}/{{#expr: ceil({{{reqtier}}}*2^2 + 1) }}/{{#expr: ceil({{{reqtier}}}*3^2 + 1) }}}}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*5}}|  }}-->
| align="center"|{{#if: {{{reqtier|}}}|{{#expr: ceil({{{reqtier}}} + 1) }}/{{#expr: ceil({{{reqtier}}}*2^2 + 1) }}/{{#expr: ceil({{{reqtier}}}*3^2 + 1) }}<!--/{{#expr: ceil({{{reqtier}}}*4^2 + 1) }}-->}}
| align="center"|{{#if:{{{dropchance|}}}|{{Chancedisplay|{{{dropchance}}}}}}}
| align="center"|{{#if:{{{dropchance|}}}|{{Chancedisplay|{{{dropchance}}}}}}}
</includeonly>
</includeonly>

Revision as of 06:38, 12 March 2022