Difference between revisions of "Template:Blocks"
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!
m |
|||
Line 199: | Line 199: | ||
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 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: | 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 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: | ||
− | <code><nowiki>{{Blocks|< | + | <code><nowiki>{{Blocks|<Building/Decorations/Dood/Redstone/Transportation/Brewing>}}</nowiki></code> |
− | That way, <code><nowiki>{{Blocks| | + | That way, <code><nowiki>{{Blocks|Building}}</nowiki></code> will result in the navbox with the "building blocks" section opened by default: |
{{Blocks|Building}} | {{Blocks|Building}} | ||
− | Or, for example, the "miscellaneous items" secton (<code><nowiki>{{Blocks| | + | Or, for example, the "miscellaneous items" secton (<code><nowiki>{{Blocks|Misc}}</nowiki></code>): |
{{Blocks|Misc}} | {{Blocks|Misc}} | ||
</noinclude> | </noinclude> |
Revision as of 23:39, 5 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 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/Dood/Redstone/Transportation/Brewing>}}
That way, {{Blocks|Building}}
will result in the navbox with the "building blocks" section opened by default:
Blocks | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Or, for example, the "miscellaneous items" secton ({{Blocks|Misc}}
):
Blocks | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|