Template:Spoilersopen/doc

Add Spoilersopen at the start of article data (such as a page or section) and Spoilerscloseat the end to hide it until expanded. This can optionally add a content warning to the page or section as well.

For Visual Editor users that want to hide formatted content, this may be an alternative to Template:Spoilers; the frame parameters are identical.

This Template must be used together with Template:Spoilersclose or equivalent expressions.

TemplateData
{	"params": { "warning": { "label": "Content warning option", "description": "Whether or not the section should have a content warning attached.", "type": "boolean" },		"topic": { "label": "Content warning type", "description": "Names the type of potentially triggering content in this article. This will be added to the content warning box at the top of this page or section if the warning parameter is filled.", "type": "line" },		"title": { "label": "Section title", "description": "Title of a hidden section.", "type": "line" }	},	"description": "Hides sections of content until expanded." }