Template:InfoCard/row: Difference between revisions

From IdleOn MMO Wiki
imported>Sacrezar
mNo edit summary
mNo edit summary
 
(16 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|}}}|{{#expr: ceil( {{{reqtier}}} ) }} / {{#expr: ceil({{{reqtier}}}*4 - ceil({{{reqtier}}})) }} / {{#expr: ceil({{{reqtier}}}*9 - ceil({{{reqtier}}}*4)) }}}}
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*5}}}}
| align="center"|{{#if:{{{cdc|}}}|{{{cdc}}}|{{#dpl:
| align="center"|{{#if: {{{bonus|}}} |{{#expr:{{{bonus}}}*6}}}}
|namespace=
| 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|}}}}}}}
|category=Cards
| align="center"|{{#if:{{{dropchance|}}}|{{Chancedisplay|{{{dropchance}}}}}}}
|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