Jump to content

Template:Item infobox/doc: Difference between revisions

no edit summary
imported>Ttv pedro270707
mNo edit summary
imported>TerboGoodGame
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|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.|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|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.|durability=100|renewable=n|stackable=64|tool=Wooden Pickaxe;Stone Pickaxe;Iron Pickaxe;Golden Pickaxe;Diamond Pickaxe;Steel Pickaxe;Shears|restores=8}}</nowiki></code>.
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>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. (What is a renewable item?) ||
| <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. (What is a renewable item?) ||