Template:InfoCard/row: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
|-
|-
| align="center"|{{#if: {{{title|}}} | [[{{{Name}}}{{!}}{{{title}}}]] | Card }}
| align="center"|{{#if: {{{Name|}}} | [[{{{Name}}}{{!}}{{{Name}}}]] | Card }}
| align="center"|{{#if: {{{Name|}}}|[[File:{{{Name}}}.png|center|50px]]| Image }}
| align="center"|{{#if: {{{Name|}}}|[[File:{{{Name}}}.png|center|50px]]| Image }}
| align="center"|{{#if: {{{effect|}}} |{{{effect|}}}| effect }}
| align="center"|{{#if: {{{effect|}}} |{{{effect|}}}| effect }}
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: {{{bonus|}}} |{{#expr:{{{bonus}}}*5}}|  }}-->
| 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: {{{bonus|}}} |{{#expr:{{{bonus}}}*6}}|  }}
| align="center"|{{#if: {{{reqtier|}}}|{{InfoCard/TierReqForm|{{{reqtier}}}|0|{{{Name|}}}}}/{{InfoCard/TierReqForm|{{{reqtier}}}|1|{{{Name|}}}}}/{{InfoCard/TierReqForm|{{{reqtier}}}|2|{{{Name|}}}}}/{{InfoCard/TierReqForm|{{{reqtier}}}|3|{{{Name|}}}}}/{{InfoCard/TierReqForm|{{{reqtier}}}|4|{{{Name|}}}}}}}
| align="center"|{{#if:{{{dropchance|}}}|{{Chancedisplay|{{{dropchance}}}}}}}
| align="center"|{{#if:{{{dropchance|}}}|{{Chancedisplay|{{{dropchance}}}}}}}
</includeonly>
</includeonly>

Latest revision as of 21:31, 29 April 2023