Template:ItemInfo/doc: Difference between revisions
Template page
More actions
Content deleted Content added
imported>76561198018895007 No edit summary |
imported>76561198018895007 No edit summary |
||
| Line 15: | Line 15: | ||
{{ItemRecipe |
{{ItemRecipe |
||
|Out1 |Out1Qty |
|Out1 |Out1Qty |
||
| |
|Out2 |Out2Qty |
||
|CraftTime |
|CraftTime |
||
|In1 |In1Qty |
|In1 |In1Qty |
||
| Line 26: | Line 26: | ||
{{ |
{{ |
||
... |
... |
||
}} |
|||
}} |
|||
</nowiki></pre> |
|||
<em>remove</em> any unused fields. You can include multiple ItemRecipes by chaining them. e.g. <code>{{ItemRecipe|...}}{{ItemRecipe|...}}</code> |
|||
Example:<pre><nowiki> |
|||
{{ItemInfo |
|||
|ItemName=Test Item |
|||
|Categories=Test, Testing |
|||
|Description=Just a Test item. |
|||
|IconImage=Icon_Unknown.png |
|||
|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 |
|||
}} |
}} |
||
}} |
}} |
||
Revision as of 21:21, 19 January 2021
Usage:
{{ItemInfo
|ItemName
|Categories
|Description
|IconImage
|Info1Type |Info1Text
|Info2Type |Info2Text
|Info3Type |Info3Text
|Info4Type |Info4Text
|Info5Type |Info5Text
|Info6Type |Info6Text
|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.
Example:
{{ItemInfo
|ItemName=Test Item
|Categories=Test, Testing
|Description=Just a Test item.
|IconImage=Icon_Unknown.png
|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
}}
}}