Template:ForgeSlot: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 36: Line 36:
<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;">
     <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:left; border-top-left-radius:10px;">{{#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;">Req:{{{levelreq}}}[[File:Smithing.png|25px]]  
         <th style="text-align:center;">'''Nr.{{{craftnum|?}}}'''</td></th>
         <th style="text-align:center; border-top-right-radius:10px;">'''Nr.{{{craftnum|?}}}'''</td></th>
     </tr>
     </tr>
     {{#if:{{{resource1|}}}|<tr>
     {{#if:{{{resource1|}}}|<tr>

Revision as of 00:46, 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)
}}