imported>76561198018895007 (Created page with "Usage: <nowiki> {{ItemInfo |ItemName |Categories |Description |IconImage |Info1Type |Info1Text |Info2Type |Info2Text |Info3Type |Info3Text |Info4Type |Info4Text |Info5Type |In...") |
imported>76561198045853337 mNo edit summary |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Usage: | __NOTOC__ | ||
Usage:<pre> | |||
<nowiki> | <nowiki> | ||
{{ItemInfo | {{ItemInfo | ||
|ItemName | |ItemName= | ||
|Categories | |Categories= | ||
|Description | |Description= | ||
|Info1Type= |Info1Text= | |||
|Info1Type |Info1Text | |Info2Type= |Info2Text= | ||
|Info2Type |Info2Text | |Info3Type= |Info3Text= | ||
|Info3Type |Info3Text | |Info4Type= |Info4Text= | ||
|Info4Type |Info4Text | |Info5Type= |Info5Text= | ||
|Info5Type |Info5Text | |Info6Type= |Info6Text= | ||
|Info6Type |Info6Text | |GridSize= | ||
|Recipes | |StackSize= | ||
|Recipes= | |||
{{ItemRecipe | {{ItemRecipe | ||
|Out1 |Out1Qty | |Out1= |Out1Qty= | ||
| | |Out2= |Out2Qty= | ||
|CraftTime | |CraftTime= | ||
|In1 |In1Qty | |In1= |In1Qty= | ||
|In2 |In2Qty | |In2= |In2Qty= | ||
|In3 |In3Qty | |In3= |In3Qty= | ||
|In4 |In4Qty | |In4= |In4Qty= | ||
|In5 |In5Qty | |In5= |In5Qty= | ||
|In6 |In6Qty | |In6= |In6Qty= | ||
}} | }} | ||
{{ | {{ | ||
Line 28: | Line 30: | ||
}} | }} | ||
}} | }} | ||
</nowiki> | </nowiki></pre> | ||
<em>remove</em> any unused fields. You can include multiple ItemRecipes by chaining them. e.g. <code><nowiki>{{ItemRecipe|...}}{{ItemRecipe|...}}</nowiki></code> | |||
NOTE: | |||
The ItemName is used to construct the filename for the 90px icon shown. For example, providing "Unknown" as in the example below, the template looks for and loads "Icon_Unknown.png". If the image does not exist, it will show as a broken image. Be sure to spell things the same. For multiple-word item names, use a space between the words as per normal. | |||
Example:<pre><nowiki> | |||
{{ItemInfo | |||
|ItemName=Unknown | |||
|Categories=Test, Testing | |||
|Description=Just a Test item. | |||
|Info1Type=Info 1 |Info1Text=Info 1 Text | |||
|Info2Type=Info 2 |Info2Text=Info 2 Text | |||
|Recipes= | |||
{{ItemRecipe | |||
|Out1=Unknown |Out1Qty=1 | |||
|CraftTime=10 s | |||
|In1=Unknown |In1Qty=1 | |||
|In2=Unknown |In2Qty=4 | |||
}} | |||
}} | |||
</nowiki></pre> | |||
Would result in: | |||
{{ItemInfo | |||
|ItemName=Unknown | |||
|Categories=Test, Testing | |||
|Description=Just a Test item. | |||
|Info1Type=Info 1 |Info1Text=Info 1 Text | |||
|Info2Type=Info 2 |Info2Text=Info 2 Text | |||
|Recipes= | |||
{{ItemRecipe | |||
|Out1=Unknown |Out1Qty=1 | |||
|CraftTime=10 s | |||
|In1=Unknown |In1Qty=1 | |||
|In2=Unknown |In2Qty=4 | |||
}} | |||
}} |
Latest revision as of 12:41, 22 June 2021
Usage:
{{ItemInfo |ItemName= |Categories= |Description= |Info1Type= |Info1Text= |Info2Type= |Info2Text= |Info3Type= |Info3Text= |Info4Type= |Info4Text= |Info5Type= |Info5Text= |Info6Type= |Info6Text= |GridSize= |StackSize= |Recipes= {{ItemRecipe |Out1= |Out1Qty= |Out2= |Out2Qty= |CraftTime= |In1= |In1Qty= |In2= |In2Qty= |In3= |In3Qty= |In4= |In4Qty= |In5= |In5Qty= |In6= |In6Qty= }} {{ ... }} }}
remove any unused fields. You can include multiple ItemRecipes by chaining them. e.g. {{ItemRecipe|...}}{{ItemRecipe|...}}
NOTE: The ItemName is used to construct the filename for the 90px icon shown. For example, providing "Unknown" as in the example below, the template looks for and loads "Icon_Unknown.png". If the image does not exist, it will show as a broken image. Be sure to spell things the same. For multiple-word item names, use a space between the words as per normal.
Example:
{{ItemInfo |ItemName=Unknown |Categories=Test, Testing |Description=Just a Test item. |Info1Type=Info 1 |Info1Text=Info 1 Text |Info2Type=Info 2 |Info2Text=Info 2 Text |Recipes= {{ItemRecipe |Out1=Unknown |Out1Qty=1 |CraftTime=10 s |In1=Unknown |In1Qty=1 |In2=Unknown |In2Qty=4 }} }}
Would result in: