VOOZH about

URL: https://minecraft.wiki/w/Module_talk:Recipe_table

⇱ Module talk:Recipe table – Minecraft Wiki


Module talk:Recipe table

From Minecraft Wiki
Jump to navigation Jump to search

Add an extra argument to allow tables to be collapsed by default

[edit source]
Latest comment: 30 November 20233 comments2 people in discussion

I recently added a tag that made all recipe tables able to be collapsed as a toggle, but a more complicated change I would like to see be added (but I don't know how to do), is to add a brand new argument that can specify a table can be collapsed/hidden by default, if the argument is specified.

For example {{crafting|collapsed=1}} means the table is collapsed/hidden by default. Delvin4519 (talk) 02:54, 30 November 2023 (UTC)

This is already possible by just adding |class=collapsed to the template with |head=1. 👁 Image
MarkusRost (talk) 02:57, 30 November 2023 (UTC)
Ahh, it's not listed anywhere in the documentation. For example in Template:Crafting in the documentation, any mention of this functionality is nowhere to be found. Delvin4519 (talk) 03:00, 30 November 2023 (UTC)
Retrieved from "https://minecraft.wiki/w/Module_talk:Recipe_table?oldid=2389991"

Navigation menu