Template:Gemshop/row: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
(Created page with " <includeonly>|- {{!}}align="center"{{!}}[[File:{{{1}}}.png|50px]] {{!}}align="center"{{!}}{{{1}}} {{!}}align="center"{{!}}{{{2}}} {{!}}align="center"{{!}}{{{3}}} {{!}}...")
 
m (Undo revision 69330 by Kiokurashi (talk))
Tag: Undo
 
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  <includeonly>|-
<includeonly><tr>
{{!}}align="center"{{!}}[[File:{{{1}}}.png|50px]]
<td>[[File:{{{name|Gem}}}.png|50px]]</td>
{{!}}align="center"{{!}}{{{1}}}
<td>{{{mtxName|MTX Name}}}</td>
{{!}}align="center"{{!}}{{{2}}}
<td>{{{description|MTX Description}}}</td>
{{!}}align="center"{{!}}{{{3}}}
<td style="text-align:center;">{{#ifeq:{{{maxPurchases|}}}|100000|∞|{{{maxPurchases|0}}}}}</td>
{{!}}align="center"{{!}}{{{4}}}
<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>
  {{!}}align="center"{{!}}{{{5}}}
</tr></includeonly><noinclude>
  {{!}}align="center"{{!}}{{{6}}}</includeonly><noinclude>
<pre>
Usage:
{{Gemshop/row|<Name>|<Description>|<Gem Cost>|<Price>|<Maximum Amount>|<Max Purchases>}}
</pre>
[[category:Table templates]]
[[category:Table templates]]
</noinclude>
</noinclude>

Latest revision as of 21:35, 4 April 2023