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 (Added Teleporter.)
m (Removed teleporter)
 
(7 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
 
! 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 57: 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 70: 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 110: 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 137: 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 144: 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 151: 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 159: 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|Potion}} ({{Icon link|Splash Potion|Splash Potion|Splash}})
 
 
|}
 
|}
{| 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 202: Line 192:
 
* {{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}}
 
* {{Icon link|Balloon}}
 
* {{Icon link|Balloon}}
 
|}
 
|}
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|misc||mw-collapsed}}"
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Unused||mw-collapsed}}"
! colspan="2"| Unused Items
+
! colspan="2"| {{I|Barrier|}} Unused Items
 
|-
 
|-
 
! Unused Items
 
! Unused Items
Line 214: Line 204:
 
* {{Icon link|Scepter Stone}}
 
* {{Icon link|Scepter Stone}}
 
* {{Icon link|Scepter}}
 
* {{Icon link|Scepter}}
* {{Icon link|Teleporter}}
 
 
|}
 
|}
 
|}<includeonly>[[Category:Items]]</includeonly><noinclude>
 
|}<includeonly>[[Category:Items]]</includeonly><noinclude>
Line 223: 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 21: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}}):