Template:Gemshop/row: Difference between revisions
From IdleOn MMO Wiki
No edit summary |
Kiokurashi (talk | contribs) m (Undo revision 69330 by Kiokurashi (talk)) Tag: Undo |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><tr> | |||
<td>[[File:{{{name|Gem}}}.png|50px]]</td> | |||
<td>{{{mtxName|MTX Name}}}</td> | |||
<td>{{{description|MTX Description}}}</td> | |||
<td style="text-align:center;">{{#ifeq:{{{maxPurchases|}}}|100000|∞|{{{maxPurchases|0}}}}}</td> | |||
< | <td>'''Base:''' {{{cost|0}}}{{#ifeq:{{{costIncrement|0}}}|0||<br/>'''Increment:''' {{{costIncrement}}}<br/>'''Final:''' {{#expr:{{{cost}}} + ({{{costIncrement}}} * ({{{maxPurchases}}} - 1))}}}}{{#ifexpr:1 < {{{maxPurchases|0}}} and {{{maxPurchases|0}}} < 100000|<br/>'''Total:''' {{#expr:({{{maxPurchases}}} / 2) * ({{{cost}}} * 2 + {{{costIncrement}}} * ({{{maxPurchases}}}-1))}}}}</td> | ||
</tr></includeonly><noinclude> | |||
[[category:Table templates]] | [[category:Table templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:35, 4 April 2023