Template:Item infobox/doc: Difference between revisions
imported>Ttv pedro270707 (Created page 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}} 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={{ItemToIma...") |
imported>Denatidum No edit summary |
||
(31 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Item infobox|title=Steel Ingot|image | {{Item infobox|title=Steel Ingot|image=Steel Ingot.png;Iron Ingot.png|item=Steel Ingot;Iron Ingot|description=Iron and Nether Coal fused into a strong alloy.|blastresistance=100|durability=100|hardness=200|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}}</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;Iron 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.|blastresistance=100|durability=100|hardness=200|renewable=n|stackable=64|tool=Wooden Pickaxe;Stone Pickaxe;Iron Pickaxe;Golden Pickaxe;Diamond Pickaxe;Steel Pickaxe;Shears|restores=8}}</nowiki></code>. | ||
{| class="wikitable" | |||
! Parameter !! Description !! Defaults to | |||
|- | |||
| <code>title</code> || The title of the infobox. || <code><nowiki>{{{PAGENAME}}}</nowiki></code> | |||
|- | |||
| <code>image</code> || Previews the main image of the infobox. || | |||
|- | |||
| <code>item</code> || Previews the display item. To preview multiple items, join the items like this: <code>ItemA;ItemB</code>. || | |||
|- | |||
| <code>description</code> || Specifies the in-game description for that item. To view item descriptions in-game, hover over the item while holding <code>CTRL</code>. || | |||
|- | |||
| <code>durability</code> || Specifies the durability of the item. Not necessary if the item is not a tool or weapon. || | |||
|- | |||
| <code>blastresistance</code> || Specifies the blast resistance of the item. Not necessary if the item isn't a block. || | |||
|- | |||
| <code>hardness</code> || Specifies the hardness of the item. Not necessary if the item isn't a block. || | |||
|- | |||
| <code>renewable</code> || Specifies whether the item is renewable or not. If the item is renewable, use y for the parameter's value. If not, use n. || | |||
|- | |||
| <code>stackable</code> || Specifies the item's ability to stack with the same items. If the item is not stackable, use 1 as the parameter's value. || | |||
|- | |||
| <code>tool</code> || 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: <code>ItemA;ItemB</code>. || | |||
|- | |||
| <code>stackable</code> || Specifies the item's ability to stack with the same items. If the item is not stackable, use 1 as the parameter's value. || | |||
|- | |||
| <code>restores</code> || Specifies the hearts of health the item restores for the player. Not necessary if the item is not a food item. || | |||
|} |
Latest revision as of 00:13, 5 September 2023
Steel Ingot
Description | Iron and Nether Coal fused into a strong alloy. |
---|---|
Durability | 100 |
Blast resistance | 100 |
Hardness | 200 |
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;Iron 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.|blastresistance=100|durability=100|hardness=200|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. | |
blastresistance |
Specifies the blast resistance of the item. Not necessary if the item isn't a block. | |
hardness |
Specifies the hardness of the item. Not necessary if the item isn't a block. | |
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. | |
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. |