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!
Line 2: | Line 2: | ||
| Building | | Building | ||
| Decorations | | Decorations | ||
+ | | Tools | ||
| Food | | Food | ||
| Redstone | | Redstone | ||
| Transportation | | Transportation | ||
| Brewing | | Brewing | ||
− | | Misc = | + | | Misc |
+ | | Unused = | ||
| #default = mw-collapsed}}" id="items-nav" | | #default = mw-collapsed}}" id="items-nav" | ||
! Items | ! Items | ||
Line 196: | Line 198: | ||
* {{Icon link|Balloon}} | * {{Icon link|Balloon}} | ||
|} | |} | ||
− | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}| | + | {| class="wikitable navbox mw-collapsible {{#ifeq: {{{1}}}|Unused||mw-collapsed}}" |
! colspan="2"| {{I|Barrier|}} Unused Items | ! colspan="2"| {{I|Barrier|}} Unused Items | ||
|- | |- |
Revision as of 08:40, 7 July 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 | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|