Template:InfoCard/row: Difference between revisions

From IdleOn MMO Wiki
imported>Sacrezar
No edit summary
mNo edit summary
 
(25 intermediate revisions by 6 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|}}}|
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*5}}}}
{{#expr: ceil({{{reqtier}}}) }}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*6}}|  }}
/{{#expr:{{{reqtier}}}*2^2 - ceil({{{reqtier}}})}}
| 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|}}}}}}}
/{{#expr:{{{reqtier}}}*3^2 - ceil({{{reqtier}}}*2^2)}}}}
| align="center"|{{#if:{{{dropchance|}}}|{{Chancedisplay|{{{dropchance}}}}}}}
| align="center"|{{#if:{{{cdc|}}}|{{{cdc}}}|{{#dpl:
|namespace=
|category=Cards
|uses=Template:DropTable/card
|include={DropTable/card}/cdc
|titlematch={{{title}}}
|format=,,
|tablesortcol=1
|allowcachedresults=false
}}}}
</includeonly>
</includeonly>

Latest revision as of 21:31, 29 April 2023