Template:Item infobox/doc: Difference between revisions
imported>Denatidum mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
Line 1: | Line 1: | ||
{{Item infobox|title=Steel Ingot|image={{ItemToImageMap|key=Steel Ingot|width=160|height=160}}|item=Steel Ingot|description=Iron and Nether Coal fused into a strong alloy.|durability=100|renewable=n|stackable=64|tool=Wooden Pickaxe;Stone Pickaxe;Iron Pickaxe;Golden Pickaxe;Diamond Pickaxe;Steel Pickaxe;Shears|restores=8}} | {{Item infobox|title=Steel Ingot|image={{ItemToImageMap|key=Steel Ingot|width=160|height=160}}|item=Steel Ingot;Iron Ingot|description=Iron and Nether Coal fused into a strong alloy.|durability=100|renewable=n|stackable=64|tool=Wooden Pickaxe;Stone Pickaxe;Iron Pickaxe;Golden Pickaxe;Diamond Pickaxe;Steel Pickaxe;Shears|restores=8}} | ||
This template allows for the creation of item infoboxes. The example on the side is created with <code><nowiki>{{Item infobox|title=Steel Ingot|image={{ItemToImageMap|key=Steel Ingot|width=160|height=160}}|item=Steel Ingot|description=Iron and Nether Coal fused into a strong alloy.|durability=100|renewable=n|stackable=64|tool=Wooden Pickaxe;Stone Pickaxe;Iron Pickaxe;Golden Pickaxe;Diamond Pickaxe;Steel Pickaxe;Shears|restores=8}}</nowiki></code>. | This template allows for the creation of item infoboxes. The example on the side is created with <code><nowiki>{{Item infobox|title=Steel Ingot|image={{ItemToImageMap|key=Steel Ingot|width=160|height=160}}|item=Steel Ingot|description=Iron and Nether Coal fused into a strong alloy.|durability=100|renewable=n|stackable=64|tool=Wooden Pickaxe;Stone Pickaxe;Iron Pickaxe;Golden Pickaxe;Diamond Pickaxe;Steel Pickaxe;Shears|restores=8}}</nowiki></code>. |
Revision as of 21:29, 25 March 2023
Steel Ingot
[[File:<span class="pixelated sprite" style="width:160px|160px]] |160px]]
Description | Iron and Nether Coal fused into a strong alloy. |
---|---|
Durability | 100 |
Tool(s) | |
Renewable | No |
Stackable | Yes (64) |
Restores | 8 ( |
This template allows for the creation of item infoboxes. The example on the side is created with {{Item infobox|title=Steel Ingot|image={{ItemToImageMap|key=Steel Ingot|width=160|height=160}}|item=Steel Ingot|description=Iron and Nether Coal fused into a strong alloy.|durability=100|renewable=n|stackable=64|tool=Wooden Pickaxe;Stone Pickaxe;Iron Pickaxe;Golden Pickaxe;Diamond Pickaxe;Steel Pickaxe;Shears|restores=8}}
.
Parameter | Description | Defaults to |
---|---|---|
title |
The title of the infobox. | {{{PAGENAME}}}
|
image |
Previews the main image of the infobox. | |
item |
Previews the display item. To preview multiple items, join the items like this: ItemA;ItemB . |
|
description |
Specifies the in-game description for that item. To view item descriptions in-game, hover over the item while holding CTRL . |
|
durability |
Specifies the durability of the item. Not necessary if the item is not a tool or weapon. | |
renewable |
Specifies whether the item is renewable or not. If the item is renewable, use y for the parameter's value. If not, use n. (What is a renewable item?) | |
stackable |
Specifies the item's ability to stack with the same items. If the item is not stackable, use 1 as the parameter's value. | |
tool |
Specifies what tool is need to harvest the item. Not necessary if the item isn't placeable or doesn't need any tools to be harvested unless necessary to do so. To preview multiple tools, join the items like this: ItemA;ItemB . |
|
stackable |
Specifies the item's ability to stack with the same items. If the item is not stackable, use 1 as the parameter's value. | |
restores |
Specifies the hearts of health the item restores for the player. Not necessary if the item is not a food item. |