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 24: Line 24:
 
* {{Icon link|Bucket of Lava}}
 
* {{Icon link|Bucket of Lava}}
 
* {{Icon link|Bucket of Acid}}
 
* {{Icon link|Bucket of Acid}}
*  
+
* {{Icon link|Moss}}
 
|}
 
|}
 
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|decorations||mw-collapsed}}"
 
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|decorations||mw-collapsed}}"

Revision as of 18:16, 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}}):