Template:ForgeSlot: Difference between revisions
From IdleOn MMO Wiki
imported>Blackwolfe No edit summary |
imported>Wekhter mNo edit summary |
||
Line 33: | Line 33: | ||
}}}}<!-- | }}}}<!-- | ||
--><div class ="forgeslot" style = "width: | --><div class="forgeslot" style="max-width:400px;"> | ||
<table style = "width:100%; background:#e6e6e6; border-radius: 10px;border:1px solid black;"> | <table style="width:100%; background:#e6e6e6; border-radius: 10px;border:1px solid black;"> | ||
< | <tr style="background:#916699;border-radius:10px 10px 0px 0px;"> | ||
<th style="text-align:left;">{{#if:{{{anvtab|}}}|[[File:{{{anvtab}}}.png|25px]]}} {{{anvtab|Tab?}}} Crafting Recipe</th> | |||
<th style="text-align:center;">Req:{{{levelreq}}}[[File:Smithing.png|25px]] | |||
<th style="text-align:center;">'''Nr.{{{craftnum|?}}}'''</td></th> | |||
</tr> | |||
{{#if:{{{resource1|}}}|<tr> | {{#if:{{{resource1|}}}|<tr> | ||
<td | <td colspan="2">{{CraftReq|{{{resource1}}}}} </td> | ||
<td style = " | <td style="text-align:center;">x{{{quantity1}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{resource2|}}}|<tr> | {{#if:{{{resource2|}}}|<tr> | ||
<td | <td colspan="2">{{CraftReq|{{{resource2}}}}} </td> | ||
<td style = " | <td style="text-align:center;>x{{{quantity2}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{resource3|}}}|<tr> | {{#if:{{{resource3|}}}|<tr> | ||
<td | <td colspan="2">{{CraftReq|{{{resource3}}}}} </td> | ||
<td style = " | <td style="text-align:center;>x{{{quantity3}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{resource4|}}}|<tr> | {{#if:{{{resource4|}}}|<tr> | ||
<td | <td colspan="2">{{CraftReq|{{{resource4}}}}} </td> | ||
<td style = " | <td style="text-align:center;>x{{{quantity4}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{recipefrom|}}}|<tr> | {{#if:{{{recipefrom|}}}|<tr> | ||
<td colspan="2 | <td colspan="2">Recipe From</td> | ||
<td style="text-align:center;">{{{recipefrom|Unobtainable}}}</td> | |||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
</div> | </div> |
Revision as of 00:42, 26 June 2021
This template defines the table "AnvilCraft". View table.
Usage: {{ForgeSlot |anvtab=example (like Anvil Tab I) |craftnum=example (the order in the crafting ui) |levelreq=example |resource1=example |quantity1=example |resource2=example |quantity2=example |resource3=example |quantity3=example |resource4=example |quantity4=example |recipefrom=example (where the recipe comes from) }}