Template:Spoilers/doc

Add Spoilers around article data (such as a page or section) to hide it until expanded. This also adds a content warning to the page.

TemplateData
{	"params": { "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.", "type": "line" },		"title": { "label": "Section title", "description": "Title of a hidden section, does not have to be included for full pages.", "type": "line" },		"page_contents": { "label": "Page contents", "description": "Actual content, such as pages or page sections, possibly including infoboxes and galleries. Anything that should be hidden within the collapsible section.", "type": "content", "suggested": true }	},	"description": "Identifies articles that contain sensitive content." }