Template:ForgeSlot: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
(Created page with "<div class ="forgeslot"> <table> <tr> <table> <td>[[{{{CraftName}}}]]</td><td>{{{LevelReq}}}</td> </table> </tr> <tr> <td>Fi...")
 
mNo edit summary
 
(123 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div class ="forgeslot">
<noinclude><!--
<table>
### Cargo Declare ###
    <tr>
-->{{#cargo_declare:_table=AnvilCraft
        <table>
  |Item=String
            <td>[[{{{CraftName}}}]]</td><td>{{{LevelReq}}}</td>
  |EXPGiven=Integer
        </table>
  |AnvilTab=String
    </tr>
  |CraftNum=Integer
  |LevelReq=Integer
  |Resource1=String
  |Quantity1=Integer
  |Resource2=String
  |Quantity2=Integer
  |Resource3=String
  |Quantity3=Integer
  |Resource4=String
  |Quantity4=Integer
  |RecipeFrom=Wikitext
}}</noinclude><!--


    <tr>
### Cargo Store ###
        <td>[[File:{{{CraftName}}}|200px|link={{{CraftName}}}]]</td>
--><includeonly><!--
    </tr>
-->{{#if:{{{nocargo|}}}||{{#ifeq:{{{name|}}}|Not Yet||{{#cargo_store:_table=AnvilCraft
    <tr>
  |Item={{{name|Missing Item}}}
        {{CraftReq|item={{{resource1}}} x{{{quantity1}}}
  |EXPGiven={{{expgiven|0}}}
    </tr>
  |AnvilTab={{{anvtab|Missing Tab}}}
    <tr>
  |CraftNum={{{craftnum|9999}}}
        {{CraftReq|item={{{resource2}}} x{{{quantity2}}}
  |LevelReq={{{levelreq|9999}}}
    </tr>
  |Resource1={{{resource1|Missing Resource}}}
    <tr>
  |Quantity1={{{quantity1|0}}}
        {{CraftReq|item={{{resource3}}} x{{{quantity3}}}
  |Resource2={{{resource2|}}}
    </tr>
  |Quantity2={{{quantity2|}}}
    <tr>
  |Resource3={{{resource3|}}}
        {{CraftReq|item={{{resource4}}} x{{{quantity4}}}
  |Quantity3={{{quantity3|}}}
    </tr>
  |Resource4={{{resource4|}}}
</table>
  |Quantity4={{{quantity4|}}}
</div>
  |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)
}}