Template:Textspoilers infobox/doc

Usage
Create a spoiler section within an infobox with

which gives: