Template:ForgeSlot/itemdisplay: Difference between revisions
From IdleOn MMO Wiki
mNo edit summary |
(Use 'Numdisplay' to format the number of required materials e.g. 2000000 becomes 2 M, 150000 becomes 150 k) |
||
Line 8: | Line 8: | ||
{{#if:{{{resource1|}}}|<tr> | {{#if:{{{resource1|}}}|<tr> | ||
<td colspan="3">{{CraftReq|{{{resource1}}}}} </td> | <td colspan="3">{{CraftReq|{{{resource1}}}}} </td> | ||
<td>x{{{quantity1}}}</td> | <td>x{{Numdisplay|{{{quantity1}}}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{resource2|}}}|<tr> | {{#if:{{{resource2|}}}|<tr> | ||
<td colspan="3">{{CraftReq|{{{resource2}}}}} </td> | <td colspan="3">{{CraftReq|{{{resource2}}}}} </td> | ||
<td>x{{{quantity2}}}</td> | <td>x{{Numdisplay|{{{quantity2}}}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{resource3|}}}|<tr> | {{#if:{{{resource3|}}}|<tr> | ||
<td colspan="3">{{CraftReq|{{{resource3}}}}} </td> | <td colspan="3">{{CraftReq|{{{resource3}}}}} </td> | ||
<td>x{{{quantity3}}}</td> | <td>x{{Numdisplay|{{{quantity3}}}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{resource4|}}}|<tr> | {{#if:{{{resource4|}}}|<tr> | ||
<td colspan="3">{{CraftReq|{{{resource4}}}}} </td> | <td colspan="3">{{CraftReq|{{{resource4}}}}} </td> | ||
<td>x{{{quantity4}}}</td> | <td>x{{Numdisplay|{{{quantity4}}}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{recipefrom|}}}|<tr> | {{#if:{{{recipefrom|}}}|<tr> |