Template:ForgeSlot: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 33: Line 33:
}}}}<!--
}}}}<!--


--><table class="forgeslot" style="width:100%; background:#e6e6e6; border-radius:.7em;border:1px solid black; max-width:400px;">
--><table class="forgeslot">
     <tr style="background:#916699;">
     <tr>
         <th class="anviltab" style="text-align:left; border-top-left-radius:.5em;">{{#if:{{{anvtab|}}}|[[File:{{{anvtab}}}.png|25px|link=]]}} {{{anvtab|Tab?}}} Crafting Recipe</th>
         <th class="anviltab">{{#if:{{{anvtab|}}}|[[File:{{{anvtab}}}.png|25px|link=]]}} {{{anvtab|Tab?}}} Crafting Recipe</th>
         <th class="smithreq" style="text-align:center;">Req:{{{levelreq}}}[[File:Smithing.png|25px|link=]]</th>
         <th class="smithreq">Req:{{{levelreq}}}[[File:Smithing.png|25px|link=]]</th>
         <th style="text-align:center; border-top-right-radius:.5em;">'''No.{{{craftnum|?}}}'''</th>
         <th>'''No.{{{craftnum|?}}}'''</th>
     </tr>
     </tr>
     {{#if:{{{resource1|}}}|<tr>
     {{#if:{{{resource1|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource1}}}}} </td>
         <td colspan="2">{{CraftReq|{{{resource1}}}}} </td>
         <td style="text-align:center;">x{{{quantity1}}}</td>
         <td>x{{{quantity1}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{resource2|}}}|<tr>
     {{#if:{{{resource2|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource2}}}}} </td>
         <td colspan="2">{{CraftReq|{{{resource2}}}}} </td>
         <td style="text-align:center;>x{{{quantity2}}}</td>
         <td>x{{{quantity2}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{resource3|}}}|<tr>
     {{#if:{{{resource3|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource3}}}}} </td>
         <td colspan="2">{{CraftReq|{{{resource3}}}}} </td>
         <td style="text-align:center;>x{{{quantity3}}}</td>
         <td>x{{{quantity3}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{resource4|}}}|<tr>
     {{#if:{{{resource4|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource4}}}}} </td>
         <td colspan="2">{{CraftReq|{{{resource4}}}}} </td>
         <td style="text-align:center;>x{{{quantity4}}}</td>
         <td>x{{{quantity4}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{recipefrom|}}}|<tr>
     {{#if:{{{recipefrom|}}}|<tr>
       <td colspan="3" style="text-align:right; border-radius:0 0 .5em .5em; padding-right:.3em">Recipe from {{{recipefrom|Unobtainable}}}</td>
       <td colspan="3">Recipe from {{{recipefrom|Unobtainable}}}</td>
     </tr>}}
     </tr>}}
</table></includeonly><noinclude>
</table></includeonly><noinclude>

Revision as of 23:18, 13 October 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)
}}