Template:InfoCard/row: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(11 intermediate revisions by 5 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 8: Line 8:
| 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}}}) }}/{{#expr: ceil({{{reqtier}}}*2^2-ceil({{{reqtier}}})) }}/{{#expr: ceil({{{reqtier}}}*3^2-ceil({{{reqtier}}}*2^2)) }}}}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*5}}|  }}
| align="center"|{{#if:{{{dropchance|}}}|{{{dropchance}}}}}
| 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}}}}}}}
</includeonly>
</includeonly>

Latest revision as of 21:31, 29 April 2023