Template:ForgeSlot: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 35: Line 35:
--><table class="forgeslot">
--><table class="forgeslot">
     <tr>
     <tr>
         <th class="anviltab">{{#if:{{{anvtab|}}}|[[File:{{{anvtab}}}.png|25px|link=]]}} {{{anvtab|Tab?}}} Crafting Recipe</th>
         <th class="anviltab">{{#if:{{{anvtab|}}}|[[File:{{{anvtab}}}.png|245px|link=]]}} {{{anvtab|Tab ?}}}</th>
         <th class="smithreq">Req:{{{levelreq}}}[[File:Smithing.png|25px|link=]]</th>
         <th>Lv Req: {{{levelreq|}}}</th>
        <th>Exp: {{{expgiven|}}}</th>
         <th>'''No.{{{craftnum|?}}}'''</th>
         <th>'''No.{{{craftnum|?}}}'''</th>
     </tr>
     </tr>
     {{#if:{{{resource1|}}}|<tr>
     {{#if:{{{resource1|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource1}}}}} </td>
         <td colspan="3">{{CraftReq|{{{resource1}}}}} </td>
         <td>x{{{quantity1}}}</td>
         <td>x{{{quantity1}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{resource2|}}}|<tr>
     {{#if:{{{resource2|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource2}}}}} </td>
         <td colspan="3">{{CraftReq|{{{resource2}}}}} </td>
         <td>x{{{quantity2}}}</td>
         <td>x{{{quantity2}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{resource3|}}}|<tr>
     {{#if:{{{resource3|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource3}}}}} </td>
         <td colspan="3">{{CraftReq|{{{resource3}}}}} </td>
         <td>x{{{quantity3}}}</td>
         <td>x{{{quantity3}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{resource4|}}}|<tr>
     {{#if:{{{resource4|}}}|<tr>
         <td colspan="2">{{CraftReq|{{{resource4}}}}} </td>
         <td colspan="3">{{CraftReq|{{{resource4}}}}} </td>
         <td>x{{{quantity4}}}</td>
         <td>x{{{quantity4}}}</td>
     </tr>}}
     </tr>}}
     {{#if:{{{recipefrom|}}}|<tr>
     {{#if:{{{recipefrom|}}}|<tr>
       <td colspan="3">Recipe from {{{recipefrom|Unobtainable}}}</td>
       <td colspan="4">Recipe from {{{recipefrom|Unobtainable}}}</td>
     </tr>}}
     </tr>}}
</table></includeonly><noinclude>
</table></includeonly><noinclude>

Revision as of 00:01, 20 January 2022

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)
}}