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 14: Line 14:
 
|
 
|
 
* {{Icon link|Brick}}
 
* {{Icon link|Brick}}
 +
|}
 +
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|building-blocks||mw-collapsed}}"
 +
! colspan="2"| Decorations
 +
|-
 +
! Decorations
 +
|
 +
* {{Icon link|Empty Bucket}}
 +
* {{Icon link|Bucket of Water}}
 +
* {{Icon link|Bucket of Lava}}
 +
* {{Icon link|Bucket of Acid}}
 +
*
 
|}
 
|}
 
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|decorations||mw-collapsed}}"
 
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|decorations||mw-collapsed}}"
Line 266: Line 277:
 
* {{Icon link|Ghast Egg}}
 
* {{Icon link|Ghast Egg}}
 
* {{Icon link|Bat Egg}}
 
* {{Icon link|Bat Egg}}
* {{Icon link|Light Gray Dye}}
+
* {{Icon link|Dyes}}
* {{Icon link|Gray Dye}}
 
* {{Icon link|Brown Dye}}
 
* {{Icon link|Purple Dye}}
 
* {{Icon link|Magenta Dye}}
 
* {{Icon link|Red Dye}}
 
* {{Icon link|Orange Dye}}
 
* {{Icon link|Pink Dye}}
 
* {{Icon link|Yellow Dye}}
 
* {{Icon link|Light Green Dye}}
 
* {{Icon link|Green Dye}}
 
* {{Icon link|Cyan Dye}}
 
* {{Icon link|Light Blue Dye}}
 
 
* {{Icon link|Lapis Lazuli}}
 
* {{Icon link|Lapis Lazuli}}
 
* {{Icon link|Ink Sac}}
 
* {{Icon link|Ink Sac}}
 +
* {{Icon link|Balloons}}
 
|}
 
|}
 
|}<includeonly>[[Category:Items]]</includeonly><noinclude>
 
|}<includeonly>[[Category:Items]]</includeonly><noinclude>

Revision as of 18:07, 25 December 2021

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}}):