Template:ForgeSlot: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
No edit summary
mNo edit summary
 
(99 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div class ="forgeslot">
<noinclude><!--
<table style = "widht:100%;">
### Cargo Declare ###
    <td>
-->{{#cargo_declare:_table=AnvilCraft
        <table>
  |Item=String
            <tr>
  |EXPGiven=Integer
                <th style = "widht:80%;">Crafting Recipe</th>
  |AnvilTab=String
                <th style = "widht:20%;">{{{levelreq}}}</th>
  |CraftNum=Integer
            </tr>
  |LevelReq=Integer
        </table>
  |Resource1=String
    </td>
  |Quantity1=Integer
    {{#if:{{{resource1|}}}|<tr>
  |Resource2=String
        <td style = "widht:80%;>{{CraftReq|item={{{resource1}}}}} </td>
  |Quantity2=Integer
        <td style = "widht:20%;>x{{{quantity1}}}</td>
  |Resource3=String
    </tr>}}
  |Quantity3=Integer
    {{#if:{{{resource2|}}}|<tr>
  |Resource4=String
        <td style = "widht:80%;">{{CraftReq|item={{{resource2}}}}} </td>
  |Quantity4=Integer
        <td style = "widht:20%;>x{{{quantity2}}}</td>
  |RecipeFrom=Wikitext
    </tr>}}
}}</noinclude><!--
    {{#if:{{{resource3|}}}|<tr>
 
        <td style = "widht:80%;">{{CraftReq|item={{{resource3}}}}} </td>
### Cargo Store ###
        <td style = "widht:20%;>x{{{quantity3}}}</td>
--><includeonly><!--
    </tr>}}
-->{{#if:{{{nocargo|}}}||{{#ifeq:{{{name|}}}|Not Yet||{{#cargo_store:_table=AnvilCraft
    {{#if:{{{resource4|}}}|<tr>
  |Item={{{name|Missing Item}}}
        <td style = "widht:80%;">{{CraftReq|item={{{resource4}}}}} </td>
  |EXPGiven={{{expgiven|0}}}
        <td style = "widht:20%;>x{{{quantity4}}}</td>
  |AnvilTab={{{anvtab|Missing Tab}}}
    </tr>}}
  |CraftNum={{{craftnum|9999}}}
</table>
  |LevelReq={{{levelreq|9999}}}
</div>
  |Resource1={{{resource1|Missing Resource}}}
  |Quantity1={{{quantity1|0}}}
  |Resource2={{{resource2|}}}
  |Quantity2={{{quantity2|}}}
  |Resource3={{{resource3|}}}
  |Quantity3={{{quantity3|}}}
  |Resource4={{{resource4|}}}
  |Quantity4={{{quantity4|}}}
  |RecipeFrom={{{recipefrom|Unobtainable}}}
}}}}}}<!--
 
-->{{ForgeSlot/row|craftnum={{{craftnum|}}}|Name={{{name|}}}|expgiven={{{expgiven|}}}|levelreq={{{levelreq|}}}|resource1={{{resource1|}}}|resource2={{{resource2|}}}|resource3={{{resource3|}}}|resource4={{{resource4|}}}|quantity1={{{quantity1|}}}|quantity2={{{quantity2|}}}|quantity3={{{quantity3|}}}|quantity4={{{quantity4|}}}|recipefrom={{{recipefrom|}}}}}</includeonly><noinclude>
<pre>
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)
}}
</pre>
[[category:infobox templates]]
</noinclude>
 
[[Category:Crafted]]
[[Category:Smithing]]

Latest revision as of 00:27, 15 October 2024

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