Difference between revisions of "Template:Blocks"

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!

(cmon)
Line 127: Line 127:
 
* {{Icon link|Odd Torch}}
 
* {{Icon link|Odd Torch}}
 
* {{Icon link|Carpets}}
 
* {{Icon link|Carpets}}
* {{Icon link|Obsidian Backdrop}}
+
* {{Icon link|Backdrops}}
* {{Icon link|Dirt Backdrop}}
 
* {{Icon link|Wooden Planks Backdrop}}
 
* {{Icon link|Stone Backdrop}}
 
* {{Icon link|Cobblestone Backdrop}}
 
* {{Icon link|Brick Backdrop}}
 
* {{Icon link|Nether Brick Backdrop}}
 
* {{Icon link|Stone Brick Backdrop}}
 
* {{Icon link|Bookshelf Backdrop}}
 
* {{Icon link|Bamboo Backdrop}}
 
 
|}
 
|}
 
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|food||mw-collapsed}}"
 
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|food||mw-collapsed}}"

Revision as of 07:11, 27 December 2021

About

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

Syntax

To use this template, add {{Blocks}} 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 blocks that the users is currently on in the navigation box, that way readers can quickly see related blocks. The syntax to open each category is the following:

{{Blocks|<building/decorations/food/redstone/transportation/brewing>

That way, {{Blocks|building}} will result in the navbox with the "building blocks" section opened by default:

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