Difference between revisions of "Template:Items"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

Line 38: Line 38:
 
! Tools
 
! Tools
 
|
 
|
* {{Icon link|Pickaxe}}
+
* {{Icon link|Pickaxe|Pickaxes}}
* {{Icon link|Shovel}}
+
* {{Icon link|Shovel|Shovels}}
* {{Icon link|Axe}}
+
* {{Icon link|Axe|Axes}}
* {{Icon link|Hoe}}
+
* {{Icon link|Hoe|Hoes}}
* {{Icon link|Sword}}
+
* {{Icon link|Sword|Swords}}
 
* {{Icon link|Bow}}
 
* {{Icon link|Bow}}
 
* {{Icon link|Arrow}}
 
* {{Icon link|Arrow}}
Line 56: Line 56:
 
! Armor
 
! Armor
 
|
 
|
* {{Icon link|Helmet}}
+
* {{Icon link|Helmet|Armor}}
* {{Icon link|Chestplate}}
+
* {{Icon link|Chestplate|Armor}}
* {{Icon link|Leggings}}
+
* {{Icon link|Leggings|Armor}}
* {{Icon link|Boots}}
+
* {{Icon link|Boots|Armor}}
 
|-
 
|-
 
! Accessories
 
! Accessories
Line 193: Line 193:
 
* {{Icon link|Rabbit's Foot}}
 
* {{Icon link|Rabbit's Foot}}
 
* {{Icon link|Spawn Egg}}
 
* {{Icon link|Spawn Egg}}
* {{Icon link|Dye}}
+
* {{Icon link|Dye|Dyes}}
 
* {{Icon link|Lapis Lazuli}}
 
* {{Icon link|Lapis Lazuli}}
 
* {{Icon link|Ink Sac}}
 
* {{Icon link|Ink Sac}}

Revision as of 13:56, 7 July 2022

About

This template displays a navigation box with all the in-game items being listed. For the blocks, refer to Template:Blocks.

Syntax

To use this template, add {{Items}} at the bottom of the article. By default, the whole navbox is closed, but generally, it is recommended to have open by default the same category of items that the user is currently on in the navigation box, that way readers can quickly see related items. The syntax to open each category is the following:

{{Items|<tools/food/brewing/misc>}}

That way, {{Items|tools}} will result in the navbox with the "tools and armor" section opened by default:

Or, for example, the "miscellaneous items" secton ({{Items|misc}}):