Minecraft Wiki
Advertisement
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information

This template collapses some content on JS-enabled browsers.

Parameters

Parameter Default Usage
head If set, only makes the head part.
tail If set, only closes what the head makes.
outerstyle Custom CSS styling for the container.
style Custom CSS styling for the collapsed part.
title The title to always display above the collapsed content.
content The content to collapse.
expanded Set to make the content collapsible, but not collapsed by default.
toggle align inline How to align the show/hide toggle. Can be left or right to float the toggle, or inline to leave it inline with the title.

Example

{{Collapse
|title=Recipe
|content=
{{Crafting Table
|B2= Any Planks
|Output= Wooden Button
}}
}}



Advertisement