Difference between revisions of "Template:Items"
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!
(→Syntax) |
|||
Line 8: | Line 8: | ||
|- | |- | ||
| | | | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| 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 15: | ||
* {{Icon link|Brick}} | * {{Icon link|Brick}} | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Decorations||mw-collapsed}}" |
− | ! colspan="2"| Decorations | + | ! colspan="2"| {{I|Shrub|}} Decorations |
|- | |- | ||
! Decorations | ! Decorations | ||
Line 25: | Line 25: | ||
* {{Icon link|Bucket of Acid}} | * {{Icon link|Bucket of Acid}} | ||
* {{Icon link|Moss}} | * {{Icon link|Moss}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* {{Icon link|Stick}} | * {{Icon link|Stick}} | ||
* {{Icon link|Name Tag}} | * {{Icon link|Name Tag}} | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| 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 | ||
Line 70: | Line 64: | ||
* {{Icon link|Mustache}} | * {{Icon link|Mustache}} | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| 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 137: | Line 131: | ||
* {{Icon link|Beet Soup}} | * {{Icon link|Beet Soup}} | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Redstone||mw-collapsed}}" |
− | ! colspan="2"| Redstone | + | ! colspan="2"| {{I|Redstone Dust|}} Redstone |
|- | |- | ||
! Resstone | ! Resstone | ||
Line 144: | Line 138: | ||
* {{Icon link|Redstone Dust}} | * {{Icon link|Redstone Dust}} | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| 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 145: | ||
* {{Icon link|Saddle}} | * {{Icon link|Saddle}} | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Brewing||mw-collapsed}}" |
− | ! colspan="2"| Brewing | + | ! colspan="2"| {{I|Healing Potion|}} Brewing |
|- | |- | ||
! Brewing | ! Brewing | ||
Line 162: | Line 156: | ||
* {{Icon link|Potion}} ({{Icon link|Splash Potion|Splash Potion|Splash}}) | * {{Icon link|Potion}} ({{Icon link|Splash Potion|Splash Potion|Splash}}) | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| 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 208: | Line 202: | ||
|} | |} | ||
{| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|misc||mw-collapsed}}" | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|misc||mw-collapsed}}" | ||
− | ! colspan="2"| Unused Items | + | ! colspan="2"| {{I|Barrier|}} Unused Items |
|- | |- | ||
! Unused Items | ! Unused Items |
Revision as of 16:24, 4 January 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:
Items | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Or, for example, the "miscellaneous items" secton ({{Items|misc}}
):
Items | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|