Template:Item infobox/doc: Difference between revisions

no edit summary
imported>Denatidum
No edit summary
imported>Denatidum
No edit summary
Line 1: Line 1:
{{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.|durability=100|hardness=200|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=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;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.|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>.
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"
{| class="wikitable"
Line 15: Line 15:
|-
|-
| <code>durability</code> || Specifies the durability of the item. Not necessary if the item is not a tool or weapon. ||
| <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>hardness</code> || Specifies the hardness of the item. Not necessary if the item isn't a block. ||
Anonymous user