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!

(Added all remaining Building Blocks.)
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable navbox mw-collapsible <!--mw-collapsed-->" id="blocks-nav"
+
{| class="wikitable navbox mw-collapsible {{#switch: {{{1}}}
! colspan="2"| Blocks
+
| Building
 +
| Decorations
 +
| Food
 +
| Redstone
 +
| Transportation
 +
| Brewing
 +
| Misc =
 +
| #default = mw-collapsed}}" id="blocks-nav"
 +
! Blocks
 +
|-
 +
|
 +
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Building||mw-collapsed}}"
 +
! colspan="2"| {{I|Wooden Planks|}} Building blocks
 
|-
 
|-
 
! Building blocks
 
! Building blocks
 
|
 
|
* {{Ilink|Stone}}
+
* {{Icon link|Stone}}
* {{Ilink|Cobblestone}}
+
* {{Icon link|Cobblestone}}
* {{Ilink|Stone Brick}}
+
* {{Icon link|Stone Brick}}
* {{Ilink|Moss Stone}}
+
* {{Icon link|Moss Stone}}
* {{Ilink|Obsidian}}
+
* {{Icon link|Obsidian}}
* {{Ilink|Bedrock}}
+
* {{Icon link|Bedrock}}
* {{Ilink|Dirt}}
+
* {{Icon link|Dirt}}
* {{Ilink|Grass}}
+
* {{Icon link|Grass}}
* {{Ilink|Coarse Dirt}}
+
* {{Icon link|Coarse Dirt}}
* {{Ilink|Farmland}}
+
* {{Icon link|Farmland}}
* {{Ilink|Mycelium}}
+
* {{Icon link|Mycelium}}
* {{Ilink|Gold Soil}}
+
* {{Icon link|Gold Soil}}
* {{Ilink|Wood}}&nbsp;&nbsp;({{Ilink|Wood|Wood#Trees|Tree Wood}})
+
* {{Icon link|Wood}}&nbsp;&nbsp;({{Icon link|Wood|Wood#Trees|Tree Wood}})
* {{Ilink|Wooden Planks}}
+
* {{Icon link|Wooden Planks}}
* {{Ilink|Barrier}}
+
* {{Icon link|Barrier}}
* {{Ilink|Coal Ore}}
+
* {{Icon link|Coal Ore}}
* {{Ilink|Iron Ore}}
+
* {{Icon link|Iron Ore}}
* {{Ilink|Gold Ore}}
+
* {{Icon link|Gold Ore}}
* {{Ilink|Diamond Ore}}
+
* {{Icon link|Diamond Ore}}
* {{Ilink|Redstone Ore}}
+
* {{Icon link|Redstone Ore}}
* {{Ilink|Odd Rock Ore}}
+
* {{Icon link|Odd Rock Ore}}
* {{Ilink|Lapis Lazuli Ore}}
+
* {{Icon link|Lapis Lazuli Ore}}
* {{Ilink|Topaz Ore}}
+
* {{Icon link|Topaz Ore}}
* {{Ilink|Ender Gem Ore}}
+
* {{Icon link|Ender Gem Ore}}
* {{Ilink|Block of Topaz}}
+
* {{Icon link|Block of Topaz}}
* {{Ilink|Iron Block}}
+
* {{Icon link|Iron Block}}
* {{Ilink|Gold Block}}
+
* {{Icon link|Gold Block}}
* {{Ilink|Diamond Block}}
+
* {{Icon link|Diamond Block}}
* {{Ilink|Lapis Lazuli Block}}
+
* {{Icon link|Lapis Lazuli Block}}
* {{Ilink|Coal Block}}
+
* {{Icon link|Coal Block}}
* {{Ilink|Sand}}
+
* {{Icon link|Sand}}
* {{Ilink|Sandstone}}
+
* {{Icon link|Sandstone}}
* {{Ilink|Clay Block}}
+
* {{Icon link|Clay Block}}
* {{Ilink|Brick}}
+
* {{Icon link|Bricks}}
* {{Ilink|Bricks}}
+
* {{Icon link|Snow Block}}
* {{Ilink|Snow Block}}
+
* {{Icon link|Ice}}
* {{Ilink|Ice}}
+
* {{Icon link|Frosted Ice}}
* {{Ilink|Frosted Ice}}
+
* {{Icon link|Gravel}}
* {{Ilink|Gravel}}
+
* {{Icon link|Bookshelf}}
* {{Ilink|Bookshelf}}
+
* {{Icon link|Stairs}}
* {{Ilink|Cobblestone Stairs}}
+
* {{Icon link|Slabs}}
* {{Ilink|Stone Stairs}}
+
* {{Icon link|Wool}}
* {{Ilink|Nether Brick Stairs}}
+
* {{Icon link|Glass}}
* {{Ilink|Brick Stairs}}
+
* {{Icon link|Portal Stone}}
* {{Ilink|Wooden Planks Stairs}}
+
* {{Icon link|Netherrack}}
* {{Ilink|Stone Brick Stairs}}
+
* {{Icon link|Nether Bricks}}
* {{Ilink|Iron Stairs}}
+
* {{Icon link|Red Nether Bricks}}
* {{Ilink|Gold Stairs}}
+
* {{Icon link|Glowstone}}
* {{Ilink|Diamond Stairs}}
+
* {{Icon link|Magma Block}}
* {{Ilink|Obsidian Stairs}}
+
* {{Icon link|Nether Wart Block}}
* {{Ilink|Bedrock Stairs}}
+
* {{Icon link|Soul Sand}}
* {{Ilink|Bamboo Stairs}}
+
* {{Icon link|Bone Block}}
* {{Ilink|Cobblestone Slab}}
+
* {{Icon link|Enderstone}}
* {{Ilink|Stone Slab}}
+
* {{Icon link|Portal Frame}}
* {{Ilink|Nether Brick Slab}}
+
* {{Icon link|Dragon Scale Block}}
* {{Ilink|Brick Slab}}
+
* {{Icon link|Healing Crystal}}
* {{Ilink|Wooden Planks Slab}}
+
* {{Icon link|Bamboo Block}}
* {{Ilink|Stone Brick Slab}}
+
|}
* {{Ilink|Iron Slab}}
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Decorations||mw-collapsed}}"
* {{Ilink|Gold Slab}}
+
! colspan="2"| {{I|Shrub|}} Decorations
* {{Ilink|Diamond Slab}}
+
|-
* {{Ilink|Obsidian Slab}}
+
! Decorations
* {{Ilink|Bedrock Slab}}
+
|
* {{Ilink|Bamboo Slab}}
+
* {{Icon link|Crafting Table}}
* {{Ilink|White Wool}}
+
* {{Icon link|Furnace}}
* {{Ilink|Light Gray Wool}}
+
* {{Icon link|Chest}}
* {{Ilink|Gray Wool}}
+
* {{Icon link|Ender Chest}}
* {{Ilink|Black Wool}}
+
* {{Icon link|Enchantment Table}}
* {{Ilink|Brown Wool}}
+
* {{Icon link|Anvil}}
* {{Ilink|Purple Wool}}
+
* {{Icon link|Bed}}
* {{Ilink|Magenta Wool}}
+
* {{Icon link|Doors|Door|Door}}
* {{Ilink|Red Wool}}
+
* {{Icon link|Trap Door}}
* {{Ilink|Orange Wool}}
+
* {{Icon link|Sign}}
* {{Ilink|Pink Wool}}
+
* {{Icon link|Sapling}}
* {{Ilink|Yellow Wool}}
+
* {{Icon link|Leaves}}
* {{Ilink|Light Green Wool}}
+
* ({{Icon link|Apple in Leaves|Leaves}}
* {{Ilink|Green Wool}}
+
* {{Icon link|Orange in Leaves|Leaves}}
* {{Ilink|Cyan Wool}}
+
* {{Icon link|Golden Apple in Leaves|Leaves}}
* {{Ilink|Light Blue Wool}}
+
* {{Icon link|Lemon in Leaves|Leaves}})
* {{Ilink|Blue Wool}}
+
* {{Icon link|Ladder}}
* {{Ilink|Rainbow Wool}}
+
* {{Icon link|Wooden Fence|Fence|Fence}}
* {{Ilink|Glass}}
+
* {{Icon link|Wooden Fence Gate|Fence Gate|Fence Gate}}
* {{Ilink|White Glass}}
+
* {{Icon link|Iron Bars}}
* {{Ilink|Light Gray Glass}}
+
* {{Icon link|Torch}}
* {{Ilink|Gray Glass}}
+
* {{Icon link|Ender Dragon Egg}}
* {{Ilink|Black Glass}}
+
* {{Icon link|Long Grass}}
* {{Ilink|Brown Glass}}
+
* {{Icon link|Shrub}}
* {{Ilink|Purple Glass}}
+
* {{Icon link|Desert Shrub}}
* {{Ilink|Magenta Glass}}
+
* {{Icon link|Red Flower|Flowers|Flowers}}
* {{Ilink|Red Glass}}
+
* {{Icon link|Red Mushroom|Mushrooms|Mushrooms}}
* {{Ilink|Orange Glass}}
+
* {{Icon link|Red Mushroom Cap|Mushroom Cap|Mushroom Cap}}
* {{Ilink|Pink Glass}}
+
* {{Icon link|Red Mushroom Stem|Mushroom Stem|Mushroom Stem}}
* {{Ilink|Yellow Glass}}
+
* {{Icon link|Bamboo}}
* {{Ilink|Light Green Glass}}
+
* {{Icon link|Cactus}}
* {{Ilink|Green Glass}}
+
* {{Icon link|Seaweed}}
* {{Ilink|Cyan Glass}}
+
* {{Icon link|Lily Pad}}
* {{Ilink|Light Blue Glass}}
+
* {{Icon link|Coral}}
* {{Ilink|Blue Glass}}
+
* {{Icon link|Coral Lantern}}
* {{Ilink|Portal Stone}}
+
* {{Icon link|Cobweb}}
* {{Ilink|Netherrack}}
+
* {{Icon link|Rope}}
* {{Ilink|Nether Bricks}}
+
* {{Icon link|Monster Spawner}}
* {{Ilink|Red Nether Bricks}}
+
* {{Icon link|Odd Torch}}
* {{Ilink|Glowstone}}
+
* {{Icon link|Carpets|Carpet|Carpets}}
* {{Ilink|Magma Block}}
+
* {{Icon link|Backdrops}}
* {{Ilink|Nether Wart Block}}
+
|}
* {{Ilink|Soul Sand}}
+
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Food||mw-collapsed}}"
* {{Ilink|Bone Block}}
+
! colspan="2"| {{I|Bread|}} Food and Crops
* {{Ilink|Enderstone}}
+
|-
* {{Ilink|Portal Frame}}
+
! Food and Crops
* {{Ilink|Dragon Scale Block}}
+
|
* {{Ilink|Healing Crystal}}
+
* {{Icon link|Lemon Block}}
* {{Ilink|Bamboo Block}}
+
* {{Icon link|Sugarcane}}
<!--* {{Ilink|}}-->
+
* {{Icon link|Cake}}
 +
* {{Icon link|Cactus Cake}}
 +
* {{Icon link|Melon Block}}
 +
* {{Icon link|Pumpkin}}
 +
* {{Icon link|Jack-o'-Lantern}}
 +
|}
 +
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Redstone||mw-collapsed}}"
 +
! colspan="2"| {{I|Redstone Dust|}}Redstone
 +
|-
 +
! Redstone
 +
|
 +
* {{Icon link|Redstone Torch}}
 +
* {{Icon link|Button}}
 +
* {{Icon link|Pressure Plate}}
 +
* {{Icon link|Lever}}
 +
* {{Icon link|Piston}}
 +
* {{Icon link|Sticky Piston}}
 +
* {{Icon link|Dispenser}}
 +
* {{Icon link|Dropper}}
 +
* {{Icon link|Redstone Lamp}}
 +
* {{Icon link|Note Block}}
 +
* {{Icon link|TNT}}
 +
|}
 +
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Transportation||mw-collapsed}}"
 +
! colspan="2"| {{I|Powered Minecart Rail|}} Transportation
 +
|-
 +
! Transportation
 +
|
 +
* {{Icon link|Raft}}
 +
* {{Icon link|Minecart}} ({{Icon link|TNT Minecart|TNT Minecart|TNT}}
 +
* {{Icon link|Furnace Minecart|Furnace Minecart|Furnace}}
 +
* {{Icon link|Chest Minecart|Chest Minecart|Chest}})
 +
* {{Icon link|Minecart Rail}} ({{Icon link|Activator Minecart Rail|Activator Minecart Rail|Activator}}
 +
* {{Icon link|Detector Minecart Rail|Detector Minecart Rail|Detector}}
 +
* {{Icon link|Powered Minecart Rail|Powered Minecart Rail|Powered}})
 +
|}
 +
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Brewing||mw-collapsed}}"
 +
! colspan="2"| {{I|Healing Potion|}} Brewing
 +
|-
 +
! Brewing
 +
|
 +
* {{Icon link|Brewing Stand}}
 +
* {{Icon link|Cauldron}}
 +
|}
 +
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Misc||mw-collapsed}}"
 +
! colspan="2"| {{I|Chicken Egg|}} Miscellaneous Items
 +
|-
 +
! Heads
 +
|
 +
* {{Icon link|Slime Block}}
 +
* {{Icon link|Mob Head}}
 +
* {{Icon link|J}}
 
|}
 
|}
 +
|}<includeonly>[[Category:Blocks]]</includeonly><noinclude>
 +
== About ==
 +
This template displays a navigation box with all the in-game [[:Category:Blocks|blocks]] being listed. For the items, refer to [[Template:Items]].
 +
 +
== Syntax ==
 +
To use this template, add <code><nowiki>{{Blocks}}</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 blocks that the article is; that way readers can quickly see related blocks. The syntax to open each category is the following:
 +
 +
<code><nowiki>{{Blocks|<Building/Decorations/Food/Redstone/Transportation/Brewing/Misc>}}</nowiki></code>
 +
 +
That way, <code><nowiki>{{Blocks|Building}}</nowiki></code> will result in the navbox with the "building blocks" section opened by default:
 +
 +
{{Blocks|Building}}
 +
 +
Or, for example, the "miscellaneous items" secton (<code><nowiki>{{Blocks|Misc}}</nowiki></code>) results in:
 +
 +
{{Blocks|Misc}}
 +
</noinclude>

Latest revision as of 13:40, 29 July 2022

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 article is; that way readers can quickly see related blocks. The syntax to open each category is the following:

{{Blocks|<Building/Decorations/Food/Redstone/Transportation/Brewing/Misc>}}

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