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!

m (Removed teleporter)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{| class="wikitable navbox mw-collapsible {{#switch: {{{1}}}
 
{| class="wikitable navbox mw-collapsible {{#switch: {{{1}}}
| tools
+
| Building
| food
+
| Decorations
| brewing
+
| Tools
| misc =
+
| Food
 +
| Redstone
 +
| Transportation
 +
| Brewing
 +
| Misc
 +
| Unused =
 
| #default = mw-collapsed}}" id="items-nav"
 
| #default = mw-collapsed}}" id="items-nav"
 
! Items
 
! Items
 
|-
 
|-
 
|
 
|
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|building-blocks||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Building-blocks||mw-collapsed}}"
! colspan="2"| Building Blocks
+
! colspan="2"| {{I|Wooden Planks|}} Building Blocks
 
|-
 
|-
 
! Building Blocks
 
! Building Blocks
Line 15: Line 20:
 
* {{Icon link|Brick}}
 
* {{Icon link|Brick}}
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|building-blocks||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Decorations||mw-collapsed}}"
! colspan="2"| Decorations
+
! colspan="2"| {{I|Shrub|}} Decorations
 
|-
 
|-
 
! Decorations
 
! Decorations
Line 25: Line 30:
 
* {{Icon link|Bucket of Acid}}
 
* {{Icon link|Bucket of Acid}}
 
* {{Icon link|Moss}}
 
* {{Icon link|Moss}}
|}
 
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|decorations||mw-collapsed}}"
 
! colspan="2"| Decorations
 
|-
 
! Decorations
 
|
 
 
* {{Icon link|Stick}}
 
* {{Icon link|Stick}}
 
* {{Icon link|Name Tag}}
 
* {{Icon link|Name Tag}}
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|tools||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Tools||mw-collapsed}}"
! colspan="2"| Tools and Armor
+
! colspan="2"| {{I|Diamond Pickaxe|}} Tools and Armor
 
|-
 
|-
! Tools and Armor
+
! Tools
 
|
 
|
* {{Icon link|Wooden Pickaxe}}
+
* {{Icon link|Pickaxe|Pickaxes}}
* {{Icon link|Stone Pickaxe}}
+
* {{Icon link|Shovel|Shovels}}
* {{Icon link|Iron Pickaxe}}
+
* {{Icon link|Axe|Axes}}
* {{Icon link|Golden Pickaxe}}
+
* {{Icon link|Hoe|Hoes}}
* {{Icon link|Diamond Pickaxe}}
+
* {{Icon link|Sword|Swords}}
* {{Icon link|Wooden Shovel}}
 
* {{Icon link|Stone Shovel}}
 
* {{Icon link|Iron Shovel}}
 
* {{Icon link|Golden Shovel}}
 
* {{Icon link|Diamond Shovel}}
 
* {{Icon link|Wooden Axe}}
 
* {{Icon link|Stone Axe}}
 
* {{Icon link|Iron Axe}}
 
* {{Icon link|Golden Axe}}
 
* {{Icon link|Diamond Axe}}
 
* {{Icon link|Wooden Hoe}}
 
* {{Icon link|Stone Hoe}}
 
* {{Icon link|Iron Hoe}}
 
* {{Icon link|Golden Hoe}}
 
* {{Icon link|Diamond Hoe}}
 
* {{Icon link|Wooden Sword}}
 
* {{Icon link|Stone Sword}}
 
* {{Icon link|Iron Sword}}
 
* {{Icon link|Golden Sword}}
 
* {{Icon link|Diamond Sword}}
 
 
* {{Icon link|Bow}}
 
* {{Icon link|Bow}}
 
* {{Icon link|Arrow}}
 
* {{Icon link|Arrow}}
Line 74: Line 53:
 
* {{Icon link|Clock}}
 
* {{Icon link|Clock}}
 
* {{Icon link|Compass}}
 
* {{Icon link|Compass}}
* {{Icon link|Leather Cap}}
+
|-
* {{Icon link|Leather Tunic}}
+
! Armor
* {{Icon link|Leather Pants}}
+
|
* {{Icon link|Leather Boots}}
+
* {{Icon link|Helmet|Armor}}
* {{Icon link|Iron Helmet}}
+
* {{Icon link|Chestplate|Armor}}
* {{Icon link|Iron Chestplate}}
+
* {{Icon link|Leggings|Armor}}
* {{Icon link|Iron Leggings}}
+
* {{Icon link|Boots|Armor}}
* {{Icon link|Iron Boots}}
+
|-
* {{Icon link|Gold Helmet}}
+
! Accessories
* {{Icon link|Gold Chestplate}}
+
|
* {{Icon link|Gold Leggings}}
 
* {{Icon link|Gold Boots}}
 
* {{Icon link|Diamond Helmet}}
 
* {{Icon link|Diamond Chestplate}}
 
* {{Icon link|Diamond Leggings}}
 
* {{Icon link|Diamond Boots}}
 
* {{Icon link|Dragon Scale Helmet}}
 
* {{Icon link|Dragon Scale Chestplate}}
 
* {{Icon link|Dragon Scale Leggings}}
 
* {{Icon link|Dragon Scale Boots}}
 
 
* {{Icon link|Santa Hat}}
 
* {{Icon link|Santa Hat}}
 
* {{Icon link|Afro}}
 
* {{Icon link|Afro}}
Line 100: Line 69:
 
* {{Icon link|Mustache}}
 
* {{Icon link|Mustache}}
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|food||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Food||mw-collapsed}}"
! colspan="2"| Food and Crops
+
! colspan="2"| {{I|Bread|}} Food and Crops
 
|-
 
|-
 
! Food and Crops
 
! Food and Crops
Line 128: Line 97:
 
* {{Icon link|Orange Juice}}
 
* {{Icon link|Orange Juice}}
 
* {{Icon link|Bucket of Milk}}
 
* {{Icon link|Bucket of Milk}}
* {{Icon link|Pumpkin}}
 
 
* {{Icon link|Pumpkin Pie}}
 
* {{Icon link|Pumpkin Pie}}
 
* {{Icon link|Carrot}}
 
* {{Icon link|Carrot}}
Line 141: Line 109:
 
* {{Icon link|Baked Potato}}
 
* {{Icon link|Baked Potato}}
 
* {{Icon link|Seeds}}
 
* {{Icon link|Seeds}}
* {{Icon link|Raw Porkchop}}
+
* {{Icon link|Raw Porkchop}} ({{Icon link|Cooked Porkchop|Cooked Porkchop|Cooked}})
* {{Icon link|Cooked Porkchop}}
+
* {{Icon link|Raw Bacon}} ({{Icon link|Cooked Bacon|Cooked Bacon|Cooked}})
* {{Icon link|Raw Bacon}}
+
* {{Icon link|Raw Beef}} ({{Icon link|Steak}})
* {{Icon link|Cooked Bacon}}
+
* {{Icon link|Raw Chicken}} ({{Icon link|Cooked Chicken|Cooked Chicken|Cooked}})
* {{Icon link|Raw Beef}}
 
* {{Icon link|Steak}}
 
* {{Icon link|Raw Chicken}}
 
* {{Icon link|Cooked Chicken}}
 
 
* {{Icon link|Chicken Nugget}}
 
* {{Icon link|Chicken Nugget}}
* {{Icon link|Raw Mutton}}
+
* {{Icon link|Raw Mutton}} ({{Icon link|Cooked Mutton|Cooked Mutton|Cooked}})
* {{Icon link|Cooked Mutton}}
+
* {{Icon link|Raw Rabbit}} ({{Icon link|Cooked Rabbit|Cooked Rabbit|Cooked}})
* {{Icon link|Raw Rabbit}}
+
* {{Icon link|Raw Fish}} ({{Icon link|Cooked Fish|Cooked Fish|Cooked}})
* {{Icon link|Cooked Rabbit}}
+
* {{Icon link|Raw Salmon}} ({{Icon link|Cooked Salmon|Cooked Salmon|Cooked}})
* {{Icon link|Raw Fish}}
 
* {{Icon link|Cooked Fish}}
 
* {{Icon link|Raw Salmon}}
 
* {{Icon link|Cooked Salmon}}
 
 
* {{Icon link|Clownfish}}
 
* {{Icon link|Clownfish}}
 
* {{Icon link|Pufferfish}}
 
* {{Icon link|Pufferfish}}
Line 168: Line 128:
 
* {{Icon link|Beet Soup}}
 
* {{Icon link|Beet Soup}}
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|food||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Redstone||mw-collapsed}}"
! colspan="2"| Redstone
+
! colspan="2"| {{I|Redstone Dust|}} Redstone
 
|-
 
|-
 
! Resstone
 
! Resstone
Line 175: Line 135:
 
* {{Icon link|Redstone Dust}}
 
* {{Icon link|Redstone Dust}}
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|food||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Transportation||mw-collapsed}}"
! colspan="2"| Transportation
+
! colspan="2"| {{I|Powered Minecart Rail|}} Transportation
 
|-
 
|-
 
! Transportation
 
! Transportation
Line 182: Line 142:
 
* {{Icon link|Saddle}}
 
* {{Icon link|Saddle}}
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|brewing||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Brewing||mw-collapsed}}"
! colspan="2"| Brewing
+
! colspan="2"| {{I|Healing Potion|}} Brewing
 
|-
 
|-
 
! Brewing
 
! Brewing
Line 190: Line 150:
 
* {{Icon link|Empty Bottle}}
 
* {{Icon link|Empty Bottle}}
 
* {{Icon link|Bottle of Enchanting}}
 
* {{Icon link|Bottle of Enchanting}}
* {{Icon link|Bottle of Water}}
+
* {{Icon link|Potion|Potions}}
* {{Icon link|Healing Potion}}
 
* {{Icon link|Harming Potion}}
 
* {{Icon link|Swiftness Potion}}
 
* {{Icon link|Slowness Potion}}
 
* {{Icon link|Poison Potion}}
 
* {{Icon link|Regeeration Potion}}
 
* {{Icon link|Strength Potion}}
 
* {{Icon link|Weakness Potion}}
 
* {{Icon link|Fire Resistance Potion}}
 
* {{Icon link|Water Breathing Potion}}
 
* {{Icon link|Leaping Potion}}
 
* {{Icon link|Invisibility Potion}}
 
* {{Icon link|Night Vision Potion}}
 
* {{Icon link|Splash Healing Potion}}
 
* {{Icon link|Splash Harming Potion}}
 
* {{Icon link|Splash Swiftness Potion}}
 
* {{Icon link|Splash Slowness Potion}}
 
* {{Icon link|Splash Poison Potion}}
 
* {{Icon link|Splash Regeeration Potion}}
 
* {{Icon link|Splash Strength Potion}}
 
* {{Icon link|Splash Weakness Potion}}
 
* {{Icon link|Splash Fire Resistance Potion}}
 
* {{Icon link|Splash Water Breathing Potion}}
 
* {{Icon link|Splash Leaping Potion}}
 
* {{Icon link|Splash Invisibility Potion}}
 
* {{Icon link|Splash Night Vision Potion}}
 
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|misc||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Misc||mw-collapsed}}"
! colspan="2"| Miscellaneous Items
+
! colspan="2"| {{I|Chicken Egg|}} Miscellaneous Items
 
|-
 
|-
 
! Miscellaneous Items
 
! Miscellaneous Items
Line 247: Line 181:
 
* {{Icon link|Blaze Rod}}
 
* {{Icon link|Blaze Rod}}
 
* {{Icon link|Dragon Scale}}
 
* {{Icon link|Dragon Scale}}
* {{Icon link|Slime Ball}}
+
* {{Icon link|Slimeball}}
 
* {{Icon link|Magma Cream}}
 
* {{Icon link|Magma Cream}}
 
* {{Icon link|Ghast Tear}}
 
* {{Icon link|Ghast Tear}}
Line 257: Line 191:
 
* {{Icon link|Rabbit Hide}}
 
* {{Icon link|Rabbit Hide}}
 
* {{Icon link|Rabbit's Foot}}
 
* {{Icon link|Rabbit's Foot}}
* {{Icon link|Pig Egg}}
+
* {{Icon link|Spawn Egg}}
* {{Icon link|Sheep Egg}}
+
* {{Icon link|Dye|Dyes}}
* {{Icon link|Wolf Egg}}
 
* {{Icon link|Chicken Egg}}
 
* {{Icon link|Cow Egg}}
 
* {{Icon link|Mooshroom Egg}}
 
* {{Icon link|Cowctus Egg}}
 
* {{Icon link|Zombie Egg}}
 
* {{Icon link|Skeleton Egg}}
 
* {{Icon link|Creeper Egg}}
 
* {{Icon link|Spider Egg}}
 
* {{Icon link|Enderman Egg}}
 
* {{Icon link|Nethereye Egg}}
 
* {{Icon link|Blaze Egg}}
 
* {{Icon link|Slime Egg}}
 
* {{Icon link|Magma Cube Egg}}
 
* {{Icon link|Rabbit Egg}}
 
* {{Icon link|Squid Egg}}
 
* {{Icon link|Zombie Pigman Egg}}
 
* {{Icon link|Ghast Egg}}
 
* {{Icon link|Bat Egg}}
 
* {{Icon link|Dyes}}
 
 
* {{Icon link|Lapis Lazuli}}
 
* {{Icon link|Lapis Lazuli}}
 
* {{Icon link|Ink Sac}}
 
* {{Icon link|Ink Sac}}
* {{Icon link|Balloons}}
+
* {{Icon link|Balloon}}
 +
|}
 +
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Unused||mw-collapsed}}"
 +
! colspan="2"| {{I|Barrier|}} Unused Items
 +
|-
 +
! Unused Items
 +
|
 +
* {{Icon link|Scepter Stone}}
 +
* {{Icon link|Scepter}}
 
|}
 
|}
 
|}<includeonly>[[Category:Items]]</includeonly><noinclude>
 
|}<includeonly>[[Category:Items]]</includeonly><noinclude>
Line 290: Line 212:
 
To use this template, add <code><nowiki>{{Items}}</nowiki></code> 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:
 
To use this template, add <code><nowiki>{{Items}}</nowiki></code> 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:
  
<code><nowiki>{{Items|<tools/food/brewing/misc></nowiki></code>
+
<code><nowiki>{{Items|<tools/food/brewing/misc>}}</nowiki></code>
  
 
That way, <code><nowiki>{{Items|tools}}</nowiki></code> will result in the navbox with the "tools and armor" section opened by default:
 
That way, <code><nowiki>{{Items|tools}}</nowiki></code> will result in the navbox with the "tools and armor" section opened by default:

Latest revision as of 20:01, 8 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}}):